Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee41adf

Browse files
Replace depractated plumber arguments
1 parent9b8d3c1 commitee41adf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎R/live.R‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ run_server <- function(arena, port = 8181, host = "127.0.0.1",
3131
stop("Invalid arena argument")
3232
}
3333
pr<-plumber::Plumber$new()
34+
pr$setDocs(FALSE)
35+
pr$setDebug(FALSE)
3436
json_structure<- get_json_structure(arena)
3537

3638
# helper function to find explainer for given name
@@ -236,5 +238,5 @@ run_server <- function(arena, port = 8181, host = "127.0.0.1",
236238
}elseif (open_browser) {
237239
utils::browseURL(paste0(arena_url,"?data=",url))
238240
}
239-
pr$run(port=port,host=host,swagger=FALSE,debug=FALSE)
241+
pr$run(port=port,host=host)
240242
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp