Skip to content

Commit

Permalink
Remove ellipsis dependency in favour of rlang (#1875)
Browse files Browse the repository at this point in the history
* Update deprec-condition.R

* Update expect-condition.R

* Remove ellipsis dep
  • Loading branch information
olivroy authored Nov 29, 2023
1 parent f51a592 commit 4b79ede
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Imports:
cli (>= 3.6.1),
desc (>= 1.4.2),
digest (>= 0.6.33),
ellipsis (>= 0.3.2),
evaluate (>= 0.21),
jsonlite (>= 1.8.7),
lifecycle (>= 1.0.3),
Expand Down
2 changes: 1 addition & 1 deletion R/deprec-condition.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ get_messages <- function(x) {
#' has been deprecated.
#'
#' @param x An error object.
#' @inheritParams ellipsis::dots_empty
#' @inheritParams rlang::args_dots_empty
#'
#' @details
#' A few classes are hard-coded as uninformative:
Expand Down
2 changes: 1 addition & 1 deletion R/expect-condition.R
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ expect_condition_matching <- function(base_class,
info = NULL,
label = NULL,
trace_env = caller_env()) {
ellipsis::check_dots_used(action = warn)
check_dots_used(error = warning)

matcher <- cnd_matcher(
base_class,
Expand Down

0 comments on commit 4b79ede

Please sign in to comment.