Skip to content

Commit

Permalink
Allow version = "all" again in cran_package()
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Oct 19, 2023
1 parent 220dd98 commit 8a0fa1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/crandb-public-api.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cran_package <- function(name, version = NULL) {

assert_that(
is_package_name(name),
is.null(version) || is_package_version(version)
is.null(version) || is_package_version(version) || (is_string(version) && version == "all")
)

ept <- name
Expand Down

0 comments on commit 8a0fa1f

Please sign in to comment.