R Under development (unstable) (2026-01-06 r89281 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > #! /usr/bin/env Rscript > ## This runs testme test script inst/testme/test-cli.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > parallelly:::testme("cli") Test 'cli' ... > message("*** CLI ...") *** CLI ... > cmdargs <- character(0) > print(cmdargs) character(0) > args <- parallelly:::parse_cmd_args(cmdargs = cmdargs) > utils::str(args) list() > cmdargs <- c("--int=0", "--int=42", "--num=3.14", + "--logical=TRUE", "--name=abc", "--expr=1+2") > print(cmdargs) [1] "--int=0" "--int=42" "--num=3.14" "--logical=TRUE" [5] "--name=abc" "--expr=1+2" > patterns <- list("--(int)=([[:digit:]]+)", "--(num)=([[:digit:].]+)", + "--(logical)=(TRUE|FALSE)", "--(name)=(.*)", "--(expr)=(.*)") > str(patterns) List of 5 $ : chr "--(int)=([[:digit:]]+)" $ : chr "--(num)=([[:digit:].]+)" $ : chr "--(logical)=(TRUE|FALSE)" $ : chr "--(name)=(.*)" $ : chr "--(expr)=(.*)" > args <- tryCatch(parallelly:::parse_cmd_args(patterns = patterns, + cmdargs = cmdargs), error = identity) > utils::str(args) List of 5 $ int : 'cmd_arg' chr "42" $ num : 'cmd_arg' chr "3.14" $ logical: 'cmd_arg' chr "TRUE" $ name : 'cmd_arg' chr "abc" $ expr : 'cmd_arg' chr "1+2" > stopifnot(args[["int"]] == "42", args[["num"]] == + "3.14", args[["logical"]] == "TRUE", args[["name"]] == "abc", + args[["expr"]] == "1+2 ..." ... [TRUNCATED] > cmdargs <- c("--int=0", "--int=42", "--num=3.14", + "--logical=TRUE", "--name=abc", "--expr=1+2") > print(cmdargs) [1] "--int=0" "--int=42" "--num=3.14" "--logical=TRUE" [5] "--name=abc" "--expr=1+2" > patterns <- list(parallelly:::cli_arg_integer("int"), + parallelly:::cli_arg_numeric("num"), parallelly:::cli_arg_logical("logical"), + pa .... [TRUNCATED] > str(patterns) List of 5 $ : chr "--(int)=((|[+]|[-])([[:digit:]]+))" ..- attr(*, "type")= chr "integer" $ : chr "--(num)=((|[+]|[-])([[:digit:].]+|Inf))" ..- attr(*, "type")= chr "numeric" $ : chr "--(logical)=(TRUE|FALSE|NA)" ..- attr(*, "type")= chr "logical" $ : chr "--(name)=(.*)" ..- attr(*, "type")= chr "character" $ : chr "--(expr)=(.*)" ..- attr(*, "type")= chr "expr" > args <- tryCatch(parallelly:::parse_cmd_args(patterns = patterns, + cmdargs = cmdargs), error = identity) > utils::str(args) List of 5 $ int : 'cmd_arg' int 42 $ num : 'cmd_arg' num 3.14 $ logical: 'cmd_arg' logi TRUE $ name : 'cmd_arg' chr "abc" $ expr : 'cmd_arg' num 3 > stopifnot(is.integer(args[["int"]]), args[["int"]] == + 42, is.numeric(args[["num"]]), args[["num"]] == 3.14, is.logical(args[["logical"]]), + .... [TRUNCATED] > cmdargs <- c("--int=42", "--num=3.14", "--logical=TRUE", + "--name=abc") > print(cmdargs) [1] "--int=42" "--num=3.14" "--logical=TRUE" "--name=abc" > args <- tryCatch(parallelly:::parse_cmd_args(cmdargs = cmdargs), + error = identity) > stopifnot(inherits(args, "error")) > print(parallelly::availableCores, call = FALSE) function (constraints = NULL, methods = getOption2("parallelly.availableCores.methods", c("system", "/proc/self/status", "cgroups.cpuset", "cgroups.cpuquota", "cgroups2.cpu.max", "nproc", "mc.cores", "BiocParallel", "_R_CHECK_LIMIT_CORES_", "Bioconductor", "LSF", "PJM", "PBS", "SGE", "Slurm", "fallback", "custom")), na.rm = TRUE, logical = getOption2("parallelly.availableCores.logical", TRUE), default = c(current = 1L), which = c("min", "max", "all"), omit = getOption2("parallelly.availableCores.omit", 0L), max = getOption2("parallelly.availableCores.max", Inf)) { stop_if_not(is.null(constraints) || is.character(constraints), !anyNA(constraints)) pattern_connections <- "^connections(|-[[:digit:]]+)$" idxs <- grep(pattern_connections, constraints) if (length(idxs) > 0) { methods <- unique(c(methods, constraints[idxs])) } which <- match.arg(which, choices = c("min", "max", "all")) stop_if_not(length(default) == 1, is.finite(default), default >= 1L) stop_if_not(length(omit) == 1L, is.numeric(omit), is.finite(omit), omit >= 0L) omit <- as.integer(omit) stop_if_not(length(max) == 1L, is.numeric(max), !is.na(max), max >= 1L) ncores <- rep(NA_integer_, times = length(methods)) names(ncores) <- methods for (kk in seq_along(methods)) { method <- methods[kk] if (method == "Slurm") { n <- availableCoresSlurm() } else if (method == "PBS") { n <- availableCoresPBS() } else if (method == "SGE") { n <- availableCoresSGE() } else if (method == "LSF") { n <- availableCoresLSF() } else if (method == "PJM") { n <- availableCoresPJM() } else if (method == "mc.cores") { n <- getopt_int("mc.cores") if (!is.na(n) && n == 0) n <- 1L } else if (method == "mc.cores+1") { n <- getopt_int("mc.cores") + 1L } else if (grepl(pattern_connections, method)) { n <- freeConnections() if (!is.na(n)) { delta <- sub(pattern_connections, "\\1", method) if (nzchar(delta) && nzchar(omit)) { delta <- as.integer(delta) n <- max(0L, n + delta) } if (n <= 0L) n <- 1L } } else if (method == "BiocParallel") { n <- getenv_int("BIOCPARALLEL_WORKER_NUMBER") } else if (method == "_R_CHECK_LIMIT_CORES_") { chk <- tolower(Sys.getenv("_R_CHECK_LIMIT_CORES_", "")) chk <- (nzchar(chk) && (chk != "false")) n <- if (chk) 2L else NA_integer_ } else if (method == "Bioconductor") { n <- NA_integer_ use <- Sys.getenv("IS_BIOC_BUILD_MACHINE", NA_character_) if (isTRUE(as.logical(use))) n <- min(n, 4L, na.rm = TRUE) if (is.na(n)) { use <- Sys.getenv("BBS_HOME", NA_character_) if (isTRUE(as.logical(use))) n <- min(n, 4L, na.rm = TRUE) } } else if (method == "system") { n <- detectCores(logical = logical) } else if (method == "/proc/self/status") { pathname <- "/proc/self/status" if (file_test("-f", pathname)) { bfr <- readLines(pathname, warn = FALSE) bfr <- grep("^Cpus_allowed_list:", bfr, value = TRUE) if (length(bfr) == 1) { bfr <- sub("^Cpus_allowed_list:\t", "", bfr) if (nzchar(bfr)) { bfr <- slurm_expand_nodelist(sprintf("[%s]", bfr)) n <- length(bfr) } } } } else if (method == "cgroups.cpuset") { n <- length(getCGroups1CpuSet()) if (n == 0L) n <- NA_integer_ } else if (method == "cgroups.cpuquota") { n <- getCGroups1CpuQuota() if (is.na(n)) { n <- NA_integer_ } else { n <- as.integer(floor(n + 0.5)) if (n == 0L) n <- 1L } } else if (method == "cgroups2.cpu.max") { n <- getCGroups2CpuMax() if (is.na(n)) { n <- NA_integer_ } else { n <- as.integer(floor(n + 0.5)) if (n == 0L) n <- 1L } } else if (method == "nproc") { n <- getNproc() } else if (method == "fallback") { n <- getOption2("parallelly.availableCores.fallback", NA_integer_) n <- as.integer(n) } else if (method == "custom") { fcn <- getOption2("parallelly.availableCores.custom", NULL) if (!is.function(fcn)) next n <- local({ oopts <- options(parallelly.availableCores.custom = NULL) on.exit(options(oopts)) fcn() }) if (length(n) != 1L) { stop("Function specified by option 'parallelly.availableCores.custom' does not a single value") } n <- as.integer(n) } else { n <- getopt_int(method) if (is.na(n)) n <- getenv_int(method) } ncores[kk] <- n } ncoresT <- ncores[!is.na(ncores)] ncoresT <- ncoresT[ncoresT <= 0] if (length(ncoresT) > 0) { msg <- sprintf("Detected invalid (zero or less) core settings: %s", paste(paste0(sQuote(names(ncoresT)), " = ", ncoresT), collapse = ", ")) stop(msg) } if (na.rm) { ncores <- ncores[!is.na(ncores)] } if (length(ncores) == 0) ncores <- default if (length(ncores) >= 2 && (which %in% c("min", "max"))) { idx_fallback <- which(names(ncores) == "fallback") if (length(idx_fallback) == 1) { special <- c("system", "/proc/self/status", "cgroups.cpuset", "cgroups.cpuquota", "cgroups2.cpu.max", "nproc") special <- c(special, grep(pattern_connections, constraints, value = TRUE)) others <- setdiff(names(ncores), c("fallback", special)) use_fallback <- (length(others) == 0L) if (use_fallback && any(ncores[special] < ncores["system"], na.rm = TRUE)) { use_fallback <- FALSE } if (use_fallback) { ncores <- ncores[idx_fallback] } else { ncores <- ncores[-idx_fallback] } } if (which == "min") { ncores <- ncores[which.min(ncores)] } else if (which == "max") { ncores <- ncores[which.max(ncores)] } } if (length(constraints) > 0L) { if ("multicore" %in% constraints) { if (!supportsMulticore()) ncores[] <- 1L } } min <- getOption2("parallelly.availableCores.min", 1L) if (length(min) != 1L || !is.numeric(min)) { stop(sprintf("Option %s is not numeric: %s", sQuote("parallelly.availableCores.min"), mode(min))) } else if (!is.finite(min) || min < 1L) { stop(sprintf("Option %s must be an integer greater than one: %d", sQuote("parallelly.availableCores.min"), min)) } else if (min > detectCores(logical = logical)) { stop(sprintf("Option %s must not be greater than the number cores on the system: %d > %d", sQuote("parallelly.availableCores.min"), min, detectCores(logical = logical))) } else { idxs <- which(ncores < min) ncores[idxs] <- as.integer(floor(min)) names(ncores)[idxs] <- paste(names(ncores)[idxs], "*", sep = "") } if (omit > 0L) { ncores <- ncores - omit ncores[ncores < 1L] <- 1L } if (is.finite(max)) { ncores <- min(max, ncores, na.rm = TRUE) ncores <- as.integer(ncores) } stop_if_not(all(ncores >= 1L, na.rm = TRUE)) ncores } attr(,"class") [1] "cli_fcn" "function" attr(,"cli_fcn_patterns") attr(,"cli_fcn_patterns")[[1]] [1] "--(constraints)=(.*)" attr(,"type") [1] "character" attr(,"cli_fcn_patterns")[[2]] [1] "--(methods)=(.*)" attr(,"type") [1] "character" attr(,"cli_fcn_patterns")[[3]] [1] "--(na.rm)=(TRUE|FALSE|NA)" attr(,"type") [1] "logical" attr(,"cli_fcn_patterns")[[4]] [1] "--(logical)=(TRUE|FALSE|NA)" attr(,"type") [1] "logical" attr(,"cli_fcn_patterns")[[5]] [1] "--(default)=(.*)" attr(,"type") [1] "character" attr(,"cli_fcn_patterns")[[6]] [1] "--(which)=(.*)" attr(,"type") [1] "character" attr(,"cli_fcn_patterns")[[7]] [1] "--(omit)=((|[+]|[-])([[:digit:]]+))" attr(,"type") [1] "integer" attr(,"cli_fcn_patterns")[[8]] [1] "--(max)=((|[+]|[-])([[:digit:].]+|Inf))" attr(,"type") [1] "numeric" attr(,"cli_fcn_output") function (x) { if (is.list(x) || is.data.frame(x)) { print(x) } else if (is.null(names(x))) { x <- paste(x, collapse = " ") cat(x, "\n", sep = "") } else { x <- as.list(x) x <- as.data.frame(x, check.names = FALSE) print(x, row.names = FALSE) } } > options(future.p2p.tests.cmdargs = character(0)) > print(parallelly::availableCores, call = TRUE) mc.cores 2 NULL > options(future.p2p.tests.cmdargs = c("--max=4")) > print(parallelly::availableCores, call = TRUE) 2 NULL > fcn <- function(abc = 0, def = 0) { + abc <- as.integer(abc) + def <- as.numeric(def) + if (abc == 0) { + data.frame(abc = abc, .... [TRUNCATED] > parallelly:::cli_fcn(fcn) <- list(parallelly:::cli_arg_integer("abc"), + parallelly:::cli_arg_numeric("def")) > output <- parallelly:::cli_fcn_output(fcn) > print(output) function (x) { if (is.list(x) || is.data.frame(x)) { print(x) } else if (is.null(names(x))) { x <- paste(x, collapse = " ") cat(x, "\n", sep = "") } else { x <- as.list(x) x <- as.data.frame(x, check.names = FALSE) print(x, row.names = FALSE) } } > output(42) 42 > output(list(42)) [[1]] [1] 42 > output(list(abc = 42)) $abc [1] 42 > output(c(abc = 42)) abc 42 > options(future.p2p.tests.cmdargs = character(0)) > void <- print(fcn) abc def 1 0 0 > options(future.p2p.tests.cmdargs = c("--abc=0", "--def=3.14")) > void <- print(fcn) abc def 1 0 3.14 > options(future.p2p.tests.cmdargs = c("--abc=-1", "--def=3.14")) > void <- print(fcn) $abc [1] -1 $def [1] 3.14 > options(future.p2p.tests.cmdargs = c("--abc=+1", "--def=3.14")) > void <- print(fcn) [[1]] [1] 1 [[2]] [1] 3.14 > parallelly:::cli_fcn_output(fcn) <- utils::str > options(future.p2p.tests.cmdargs = c("--abc=+1", "--def=3.14")) > void <- print(fcn) List of 2 $ : int 1 $ : num 3.14 > parallelly:::cli_fcn(fcn) <- list(structure(parallelly:::cli_arg_integer("abc"), + type = "unknown")) > void <- tryCatch(print(fcn), error = identity) > print(void) > stopifnot(inherits(void, "error")) > options(future.p2p.tests.cmdargs = NULL) > res <- tryCatch(parallelly:::cli_prune(), error = identity) > print(res) > stopifnot(inherits(res, "error")) > message("*** CLI ... DONE") *** CLI ... DONE Failed to undo environment variables: - Expected environment variables: [n=215] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CV_Instance001', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OCL', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RTOOLS44_HOME', 'RTOOLS45_HOME', 'R_ARCH', 'R_BROWSER', 'R_BZIPCMD', 'R_CMD', 'R_COMPILED_BY', 'R_CRAN_WEB', 'R_CUSTOM_TOOLS_PATH', 'R_CUSTOM_TOOLS_SOFT', 'R_DOC_DIR', 'R_ENVIRON_USER', 'R_GSCMD', 'R_GZIPCMD', 'R_HOME', 'R_INCLUDE_DIR', 'R_INSTALL_TAR', 'R_LIBS', 'R_LIBS_SITE', 'R_LIBS_USER', 'R_MAX_NUM_DLLS', 'R_OSTYPE', 'R_PAPERSIZE', 'R_PAPERSIZE_USER', 'R_PARALLELLY_MAKENODEPSOCK_AUTOKILL', 'R_PARALLELLY_MAKENODEPSOCK_CONNECTTIMEOUT', 'R_PARALLELLY_MAKENODEPSOCK_RSCRIPT_LABEL', 'R_PARALLELLY_MAKENODEPSOCK_SESSIONINFO_PKGS', 'R_PARALLELLY_MAKENODEPSOCK_TIMEOUT', 'R_PARALLELLY_RANDOM_PORTS', 'R_PARALLEL_PORT', 'R_RD4PDF', 'R_RTOOLS45_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTME_NAME', 'R_TESTME_PACKAGE', 'R_TESTME_PATH', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TETRAD_DIR', 'TEXINPUTS', 'TMP', 'TMPDIR', 'USERDOMAIN', 'USERDOMAIN_ROAMINGPROFILE', 'USERNAME', 'USERPROFILE', 'WINDIR', '_', '_R_CHECK_AUTOCONF_', '_R_CHECK_BOGUS_RETURN_', '_R_CHECK_BROWSER_NONINTERACTIVE_', '_R_CHECK_BUILD_VIGNETTES_SEPARATELY_', '_R_CHECK_CODETOOLS_PROFILE_', '_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_', '_R_CHECK_CODE_ATTACH_', '_R_CHECK_CODE_CLASS_IS_STRING_', '_R_CHECK_CODE_DATA_INTO_GLOBALENV_', '_R_CHECK_CODE_USAGE_VIA_NAMESPACES_', '_R_CHECK_CODE_USAGE_WITHOUT_LOADING_', '_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_', '_R_CHECK_CODOC_VARIABLES_IN_USAGES_', '_R_CHECK_COMPACT_DATA2_', '_R_CHECK_COMPILATION_FLAGS_', '_R_CHECK_CONNECTIONS_LEFT_OPEN_', '_R_CHECK_CRAN_INCOMING_', '_R_CHECK_CRAN_INCOMING_ASPELL_RECHECK_MAYBE_', '_R_CHECK_CRAN_INCOMING_ASPELL_RECHECK_START_', '_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_', '_R_CHECK_CRAN_INCOMING_CHECK_URLS_IN_PARALLEL_', '_R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_', '_R_CHECK_CRAN_INCOMING_REMOTE_', '_R_CHECK_CRAN_INCOMING_USE_ASPELL_', '_R_CHECK_DATALIST_', '_R_CHECK_DEPRECATED_DEFUNCT_', '_R_CHECK_DOC_SIZES2_', '_R_CHECK_DOT_FIRSTLIB_', '_R_CHECK_DOT_INTERNAL_', '_R_CHECK_EXAMPLE_TIMING_THRESHOLD_', '_R_CHECK_EXECUTABLES_', '_R_CHECK_EXECUTABLES_EXCLUSIONS_', '_R_CHECK_FF_CALLS_', '_R_CHECK_FF_DUP_', '_R_CHECK_FORCE_SUGGESTS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_LEEWAY_', '_R_CHECK_HAVE_MYSQL_', '_R_CHECK_HAVE_ODBC_', '_R_CHECK_HAVE_PERL_', '_R_CHECK_HAVE_POSTGRES_', '_R_CHECK_INSTALL_DEPENDS_', '_R_CHECK_INTERNALS2_', '_R_CHECK_LENGTH_1_CONDITION_', '_R_CHECK_LICENSE_', '_R_CHECK_LIMIT_CORES_', '_R_CHECK_LOG_USE_INFO_', '_R_CHECK_MATRIX_DATA_', '_R_CHECK_MBCS_CONVERSION_FAILURE_', '_R_CHECK_NATIVE_ROUTINE_REGISTRATION_', '_R_CHECK_NEWS_IN_PLAIN_TEXT_', '_R_CHECK_NO_RECOMMENDED_', '_R_CHECK_NO_STOP_ON_TEST_ERROR_', '_R_CHECK_ORPHANED_', '_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_', '_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_', '_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_', '_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_', '_R_CHECK_PACKAGE_NAME_', '_R_CHECK_PKG_SIZES_', '_R_CHECK_PKG_SIZES_THRESHOLD_', '_R_CHECK_PRAGMAS_', '_R_CHECK_RD_EXAMPLES_T_AND_F_', '_R_CHECK_RD_LINE_WIDTHS_', '_R_CHECK_RD_MATH_RENDERING_', '_R_CHECK_RD_NOTE_LOST_BRACES_', '_R_CHECK_RD_VALIDATE_RD2HTML_', '_R_CHECK_REPLACING_IMPORTS_', '_R_CHECK_R_DEPENDS_', '_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_', '_R_CHECK_SCREEN_DEVICE_', '_R_CHECK_SERIALIZATION_', '_R_CHECK_SHLIB_OPENMP_FLAGS_', '_R_CHECK_SRC_MINUS_W_IMPLICIT_', '_R_CHECK_SUBDIRS_NOCASE_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_NOTE_MISSING_PACKAGE_ANCHORS_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_DEPRECATED_IS_R_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', '_R_USE_STRICT_R_HEADERS_', '__R_CHECK_DOC_FILES_NOTE_IF_ALL_INTERNAL__', 'maj.version', 'nextArg--timingsnextArg--install', 'tempdirname' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: Test time: user.self=0.1s, sys.self=0s, elapsed=0.1s, user.child=NAs, sys.child=NAs Test 'tempdirname' ... success > > proc.time() user system elapsed 0.34 0.04 0.39