Even more stringsAsFactors catches

This commit is contained in:
2023-11-29 16:29:23 +00:00
parent f7cf31352b
commit 092bcdd866
7 changed files with 31 additions and 16 deletions

View File

@@ -14,7 +14,7 @@ snapshot_create <- function(installOpts = list(Ncpus = parallel::detectCores()))
lastSnapshot <- snapshot_latest()
customSources <- empty_sources()
if (!is.null(lastSnapshot) && "custom" %in% names(lastSnapshot$packages)) {
customSources <- rbind(customSources, lastSnapshot$packages$custom)
customSources <- rbind(customSources, lastSnapshot$packages$custom, stringsAsFactors = FALSE)
}
packages <- compile_imports(customSources, installOpts)
names(packages) <- c("core", "direct", "indirect", "custom", "install_order")