convert a list of packages into a description file and detect system requirements
Source:R/sysreqs.R
ci_new_pkgs_sysreqs.RdThis function converts a set of R package names to a description file and then
passes this to ci_sysreqs() for system requirements detection.
Examples
Sys.setenv(R_USER_CACHE_DIR = tempfile())
pkgs <- list(list(package = "knitr", package = "rmarkdown"))
if (startsWith(tolower(R.version$os), "linux")) {
vise::ci_new_pkgs_sysreqs(pkgs, execute = FALSE)
}
#> [1] "ubuntu" "24.04"
#> No system dependencies to install
#> <environment: 0x5589ed4b4150>