feat(full): per-package r-minor flag and --sensitive-only mode in build-all.R
This commit is contained in:
parent
34173a6722
commit
a33986a8d6
1 changed files with 42 additions and 9 deletions
|
|
@ -20,3 +20,14 @@ classify_from_metadata <- function(needs_compilation, linking_to, risky_deps) {
|
|||
}
|
||||
"ambiguous"
|
||||
}
|
||||
|
||||
parse_build_args <- function(args) {
|
||||
sensitive_only <- "--sensitive-only" %in% args
|
||||
pos <- args[!startsWith(args, "--")]
|
||||
list(
|
||||
sensitive_only = sensitive_only,
|
||||
split_into = as.integer(pos[1L]),
|
||||
split_index = as.integer(pos[2L]),
|
||||
ncpus = as.integer(pos[3L])
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue