Skip to content

Commit

Permalink
bug: Use {rlang} instead of {ellipsis} (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy authored Jul 3, 2024
1 parent 7b3e025 commit 10d287c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ Imports:
magrittr,
mime,
lifecycle (>= 0.2.0),
ellipsis (>= 0.3.0),
rlang
rlang (>= 1.0.0)
ByteCompile: TRUE
Suggests:
testthat (>= 0.11.0),
Expand All @@ -54,7 +53,7 @@ Suggests:
redoc,
rapidoc,
sf
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
Collate:
'async.R'
'content-types.R'
Expand Down
2 changes: 1 addition & 1 deletion R/options_plumber.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ options_plumber <- function(
sharedSecret = getOption("plumber.sharedSecret"),
legacyRedirects = getOption("plumber.legacyRedirects")
) {
ellipsis::check_dots_empty()
rlang::check_dots_empty()

# Make sure all fallback options are disabled
if (!missing(docs.callback) && is.null(docs.callback)) {
Expand Down
2 changes: 1 addition & 1 deletion R/plumber.R
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Plumber <- R6Class(
stop("Plumber router `$run()` method should not be called while `plumb()`ing a file")
}

ellipsis::check_dots_empty()
rlang::check_dots_empty()

# Legacy support for RStudio pro products.
# Checks must be kept for >= 2 yrs after plumber v1.0.0 release date
Expand Down
2 changes: 1 addition & 1 deletion R/pr.R
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ pr_run <- function(pr,
quiet = FALSE
) {
validate_pr(pr)
ellipsis::check_dots_empty()
rlang::check_dots_empty()
pr$run(host = host,
port = port,
debug = debug,
Expand Down

0 comments on commit 10d287c

Please sign in to comment.