Skip to content

Commit

Permalink
Ellipsis dependency (#810)
Browse files Browse the repository at this point in the history
* remove ellipsis dependency and increase rlang's

* Add news
  • Loading branch information
olivroy authored Apr 23, 2024
1 parent aeb8144 commit a52ebe3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ BugReports: https://github.com/rstudio/learnr/issues
Imports:
checkmate,
digest,
ellipsis (>= 0.2.0.1),
evaluate,
htmltools (>= 0.3.5),
htmlwidgets,
Expand All @@ -47,7 +46,7 @@ Imports:
promises,
rappdirs,
renv (>= 0.8.0),
rlang,
rlang (>= 1.0.0),
rmarkdown (>= 1.12.0),
rprojroot,
shiny (>= 1.0),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# learnr (development version)

- Removed dependency on ellipsis (@olivroy, #809)
- Added Norwegian translation contributed by @jonovik. (#806)

# learnr 0.11.5
Expand Down
2 changes: 1 addition & 1 deletion R/quiz.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ question <- function(
initialize_tutorial()

# capture/validate answers
ellipsis::check_dots_unnamed() # validate all answers are not named and not a misspelling
rlang::check_dots_unnamed() # validate all answers are not named and not a misspelling
answers <- list(...)
lapply(answers, function(answer) {
checkmate::assert_class(answer, "tutorial_question_answer")
Expand Down
2 changes: 1 addition & 1 deletion R/run.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ run_tutorial <- function(
clean = FALSE,
as_rstudio_job = NULL
) {
ellipsis::check_dots_empty()
rlang::check_dots_empty()
checkmate::assert_character(name, any.missing = FALSE, max.len = 1, null.ok = TRUE)
checkmate::assert_character(package, any.missing = FALSE, max.len = 1, null.ok = TRUE)

Expand Down

0 comments on commit a52ebe3

Please sign in to comment.