From 8a0fa1fadd87df82a6ae772dfe54fa3842835a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Thu, 19 Oct 2023 10:59:18 +0200 Subject: [PATCH] Allow version = "all" again in `cran_package()` --- R/crandb-public-api.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/crandb-public-api.R b/R/crandb-public-api.R index 2f1fc76..c852736 100644 --- a/R/crandb-public-api.R +++ b/R/crandb-public-api.R @@ -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