Restore source downloader in R
This commit is contained in:
@@ -5,7 +5,7 @@ lib <- Sys.getenv("R_LIBS_USER", file.path(repo_root, "_local", "R", "library"))
|
||||
dir.create(lib, recursive = TRUE, showWarnings = FALSE)
|
||||
.libPaths(c(lib, .libPaths()))
|
||||
|
||||
required <- c("tidyverse", "countrycode", "haven", "foreign")
|
||||
required <- c("tidyverse", "countrycode", "haven", "foreign", "jsonlite")
|
||||
missing <- required[!vapply(required, requireNamespace, quietly = TRUE, FUN.VALUE = logical(1))]
|
||||
|
||||
if (length(missing) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user