Running ‘000.sessionDetails.R’ [7s/8s]
  Running ‘ClusterRegistry.R’ [3s/48s]
  Running ‘Future-class.R’ [2s/17s]
  Running ‘FutureError.R’ [1s/1s]
  Running ‘FutureGlobals.R’ [1s/1s]
  Running ‘FutureRegistry.R’ [1s/1s]
  Running ‘as.cluster.R’ [1s/17s]
  Running ‘availableCores.R’ [1s/1s]
  Running ‘availableWorkers.R’ [1s/1s]
  Running ‘backtrace.R’ [1s/1s]
  Running ‘cluster-missing-future-pkg.R’ [1s/2s]
  Running ‘cluster.R’ [7s/111s]
  Running ‘constant.R’ [1s/1s]
  Running ‘demo.R’ [10s/26s]
  Running ‘dotdotdot.R’ [2s/18s]
  Running ‘early-signaling.R’ [2s/37s]
  Running ‘future,labels.R’ [1s/1s]
  Running ‘future.R’ [1s/1s]
  Running ‘futureAssign.R’ [2s/18s]
  Running ‘futureAssign_OP.R’ [3s/19s]
  Running ‘futureAssign_OP_with_environment.R’ [1s/1s]
  Running ‘futureAssign_OP_with_listenv.R’ [1s/1s]
  Running ‘futureCall.R’ [4s/28s]
  Running ‘futureOf.R’ [1s/1s]
  Running ‘futureOf_with_environment.R’ [1s/1s]
  Running ‘futureOf_with_listenv.R’ [1s/1s]
  Running ‘futures.R’ [19s/137s]
  Running ‘globals,NSE.R’ [1s/1s]
  Running ‘globals,formulas.R’ [4s/21s]
  Running ‘globals,manual.R’ [2s/3s]
  Running ‘globals,resolve.R’ [2s/17s]
  Running ‘globals,subassignment.R’ [3s/20s]
  Running ‘globals,toolarge.R’ [1s/16s]
  Running ‘globals,tricky.R’ [7s/26s]
  Running ‘globals,tricky_recursive.R’ [1s/1s]
  Running ‘globalsOf,tweaks.R’ [1s/1s]
  Running ‘immediateCondition.R’ [1s/1s]
  Running ‘invalid-owner.R’ [2s/18s]
  Running ‘makeClusterPSOCK.R’ [1s/8s]
  Running ‘mandelbrot.R’ [1s/1s]
  Running ‘mpi.R’ [1s/1s]
  Running ‘multicore,multithreading.R’ [1s/1s]
  Running ‘multicore.R’ [1s/2s]
  Running ‘multiprocess.R’ [2s/2s]
  Running ‘multisession.R’ [4s/53s]
  Running ‘nbrOfWorkers.R’ [5s/66s]
  Running ‘nested_futures,mc.cores.R’ [5s/114s]
  Running ‘nested_futures.R’ [1s/1s]
  Running ‘non-exportable,connections.R’ [1s/18s]
  Running ‘objectSize.R’ [1s/1s]
  Running ‘plan.R’ [7s/16s]
  Running ‘relaying.R’ [1s/2s]
  Running ‘remote.R’ [1s/17s]
  Running ‘requestCore.R’ [1s/3s]
  Running ‘requestNode.R’ [2s/29s]
  Running ‘reserved-keyword-functions.R’ [1s/1s]
  Running ‘resolve.R’ [2s/4s]
  Running ‘resolved-non-blocking-test.R’ [3s/68s]
  Running ‘rng.R’ [11s/33s]
  Running ‘sequential.R’ [1s/1s]
  Running ‘sessionDetails.R’ [1s/1s]
  Running ‘startup.R’ [1s/3s]
  Running ‘stdout.R’ [2s/19s]
  Running ‘transparent.R’ [1s/1s]
  Running ‘tweak.R’ [1s/1s]
  Running ‘utils.R’ [7s/9s]
  Running ‘uuid.R’ [1s/1s]
  Running ‘whichIndex.R’ [1s/1s]
Running the tests in ‘tests/startup.R’ failed.
Complete output:
  > source("incl/start.R")
  [14:30:49.242] plan(): Setting new future strategy stack:
  [14:30:49.244] List of future strategies:
  [14:30:49.244] 1. sequential:
  [14:30:49.244]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.244]    - tweaked: FALSE
  [14:30:49.244]    - call: future::plan("sequential")
  [14:30:49.246] plan(): nbrOfWorkers() = 1
  > 
  > maxCores <- min(2L, availableCores(methods = "system"))
  > 
  > 
  > plan("default")
  [14:30:49.283] plan(): Setting new future strategy stack:
  [14:30:49.283] List of future strategies:
  [14:30:49.283] 1. sequential:
  [14:30:49.283]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.283]    - tweaked: FALSE
  [14:30:49.283]    - call: NULL
  [14:30:49.318] plan(): nbrOfWorkers() = 1
  > strategy0 <- plan()
  >  
  > message("*** parseCmdArgs() ...")
  *** parseCmdArgs() ...
  > 
  > args <- parseCmdArgs()
  > str(args)
   list()
  > 
  > options(future.plan = NULL, future.cmdargs = c("-p", 1L))
  > args <- parseCmdArgs()
  > str(args)
  List of 1
   $ p: int 1
  > stopifnot(args$p == 1L)
  > 
  > options(future.plan = NULL, future.cmdargs = c(sprintf("--parallel=%d", maxCores)))
  > args <- parseCmdArgs()
  > str(args)
  List of 1
   $ p: int 2
  > stopifnot(args$p == maxCores)
  > 
  > options(future.plan = NULL, future.cmdargs = c("-p", 1L, sprintf("--parallel=%d", maxCores)))
  > args <- parseCmdArgs()
  > str(args)
  List of 1
   $ p: int 2
  > stopifnot(args$p == maxCores)
  > 
  > options(future.plan = NULL, future.cmdargs = c("-p", 0L))
  > args <- parseCmdArgs()
  Warning: future: Ignoring invalid number of processes specified in command-line option: -p 0
  > stopifnot(is.null(args$p))
  > res <- tryCatch(parseCmdArgs(), warning = function(w) w)
  > stopifnot(inherits(res, "warning"))
  > 
  > options(future.plan = NULL, future.cmdargs = c("-p", .Machine$integer.max))
  > args <- parseCmdArgs()
  Warning: future: Ignoring requested number of processes, because it is greater than the number of cores/child processes available (= 32) to this R process: -p 2147483647
  > stopifnot(is.null(args$p))
  > res <- tryCatch(parseCmdArgs(), warning = function(w) w)
  > stopifnot(inherits(res, "warning"))
  > 
  > options(future.plan = NULL, future.cmdargs = NULL)
  > 
  > message("*** parseCmdArgs() ... DONE")
  *** parseCmdArgs() ... DONE
  > 
  > 
  > 
  > message("*** .onLoad() ...")
  *** .onLoad() ...
  > plan("default")
  [14:30:49.339] plan(): Setting new future strategy stack:
  [14:30:49.340] List of future strategies:
  [14:30:49.340] 1. sequential:
  [14:30:49.340]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.340]    - tweaked: FALSE
  [14:30:49.340]    - call: NULL
  [14:30:49.341] plan(): nbrOfWorkers() = 1
  > pkgname <- "future"
  > 
  > message("- .onLoad() w/out command-line options ...")
  - .onLoad() w/out command-line options ...
  > options(future.plan = NULL, future.cmdargs = NULL)
  > .onLoad(pkgname, pkgname)
  [14:30:49.342] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.346] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  [14:30:49.347] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.347] Setting plan('default')
  [14:30:49.347] plan(): Setting new future strategy stack:
  [14:30:49.348] List of future strategies:
  [14:30:49.348] 1. sequential:
  [14:30:49.348]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.348]    - tweaked: FALSE
  [14:30:49.348]    - call: NULL
  [14:30:49.349] plan(): nbrOfWorkers() = 1
  > strategy <- plan("next")
  > print(strategy)
  sequential:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: FALSE
  - call: NULL
  > stopifnot(all(class(strategy) == class(strategy0)))
  > plan("default")
  [14:30:49.350] plan(): Setting new future strategy stack:
  [14:30:49.350] List of future strategies:
  [14:30:49.350] 1. sequential:
  [14:30:49.350]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.350]    - tweaked: FALSE
  [14:30:49.350]    - call: NULL
  [14:30:49.351] plan(): nbrOfWorkers() = 1
  > message("- .onLoad() w/out command-line options ... DONE")
  - .onLoad() w/out command-line options ... DONE
  > 
  > message("- .onLoad() w/ -p 1 ...")
  - .onLoad() w/ -p 1 ...
  > options(future.plan = NULL, future.cmdargs = c("-p", 1))
  > .onLoad(pkgname, pkgname)
  [14:30:49.352] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.354] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  [14:30:49.355] R command-line argument: -p 1
  [14:30:49.355]  => options(future.plan = sequential)
  [14:30:49.356] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.356] Setting plan('default')
  [14:30:49.356] plan(): Setting new future strategy stack:
  [14:30:49.357] List of future strategies:
  [14:30:49.357] 1. sequential:
  [14:30:49.357]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.357]    - tweaked: FALSE
  [14:30:49.357]    - call: NULL
  [14:30:49.358] plan(): nbrOfWorkers() = 1
  > strategy <- plan("next")
  > print(strategy)
  sequential:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: FALSE
  - call: NULL
  > ## future.plan can be either a string or a future function
  > default <- getOption("future.plan", "sequential")
  > if (is.function(default)) default <- class(default)
  > stopifnot(inherits(strategy, default))
  > plan("default")
  [14:30:49.359] plan(): Setting new future strategy stack:
  [14:30:49.359] List of future strategies:
  [14:30:49.359] 1. sequential:
  [14:30:49.359]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.359]    - tweaked: FALSE
  [14:30:49.359]    - call: NULL
  [14:30:49.360] plan(): nbrOfWorkers() = 1
  > message("- .onLoad() w/ -p 1 ... DONE")
  - .onLoad() w/ -p 1 ... DONE
  > 
  > message("- .onLoad() w/ --parallel=1 ...")
  - .onLoad() w/ --parallel=1 ...
  > plan("default")
  [14:30:49.361] plan(): Setting new future strategy stack:
  [14:30:49.361] List of future strategies:
  [14:30:49.361] 1. sequential:
  [14:30:49.361]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.361]    - tweaked: FALSE
  [14:30:49.361]    - call: NULL
  [14:30:49.363] plan(): nbrOfWorkers() = 1
  > options(future.plan = NULL, future.cmdargs = "-parallel=1")
  > .onLoad(pkgname, pkgname)
  [14:30:49.363] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.366] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  [14:30:49.366] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.366] Setting plan('default')
  [14:30:49.367] plan(): Setting new future strategy stack:
  [14:30:49.367] List of future strategies:
  [14:30:49.367] 1. sequential:
  [14:30:49.367]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.367]    - tweaked: FALSE
  [14:30:49.367]    - call: NULL
  [14:30:49.368] plan(): nbrOfWorkers() = 1
  > strategy <- plan("next")
  > print(strategy)
  sequential:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: FALSE
  - call: NULL
  > ## future.plan can be either a string or a future function
  > default <- getOption("future.plan", "sequential")
  > if (is.function(default)) default <- class(default)
  > stopifnot(inherits(strategy, default))
  > plan("default")
  [14:30:49.369] plan(): Setting new future strategy stack:
  [14:30:49.370] List of future strategies:
  [14:30:49.370] 1. sequential:
  [14:30:49.370]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.370]    - tweaked: FALSE
  [14:30:49.370]    - call: NULL
  [14:30:49.371] plan(): nbrOfWorkers() = 1
  > message("- .onLoad() w/ --parallel=1 ... DONE")
  - .onLoad() w/ --parallel=1 ... DONE
  > 
  > message("- .onLoad() w/ -p 2 ...")
  - .onLoad() w/ -p 2 ...
  > options(future.plan = NULL, future.cmdargs = c("-p", 2))
  > .onLoad(pkgname, pkgname)
  [14:30:49.372] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.374] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  [14:30:49.375] R command-line argument: -p 2
  [14:30:49.375]  => options(future.plan = tweak(multiprocess, workers = 2))
  [14:30:49.375] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.376] Setting plan('default')
  [14:30:49.376] plan(): Setting new future strategy stack:
  [14:30:49.376] List of future strategies:
  [14:30:49.376] 1. multiprocess:
  [14:30:49.376]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, workers = 2L, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.376]    - tweaked: TRUE
  [14:30:49.376]    - call: NULL
  [14:30:49.377] plan(): nbrOfWorkers() = 2
  > strategy <- plan("next")
  > print(strategy)
  multiprocess:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, workers = 2L, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: TRUE
  - call: NULL
  > if (maxCores >= 2) {
  +   stopifnot(inherits(strategy, "multiprocess"))
  + } else {
  +   stopifnot(all(class(strategy) == class(strategy0)))
  + }
  > plan("default")
  [14:30:49.379] plan(): Setting new future strategy stack:
  [14:30:49.379] List of future strategies:
  [14:30:49.379] 1. multiprocess:
  [14:30:49.379]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, workers = 2L, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.379]    - tweaked: TRUE
  [14:30:49.379]    - call: NULL
  [14:30:49.380] plan(): nbrOfWorkers() = 2
  > message("- .onLoad() w/ -p 2 ... DONE")
  - .onLoad() w/ -p 2 ... DONE
  > 
  > message("- .onLoad() w/ -p 0 ...")
  - .onLoad() w/ -p 0 ...
  > options(future.plan = NULL, future.cmdargs = c("-p", 0))
  > .onLoad(pkgname, pkgname)
  [14:30:49.381] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.383] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  Warning: future: Ignoring invalid number of processes specified in command-line option: -p 0
  [14:30:49.384] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.385] Setting plan('default')
  [14:30:49.385] plan(): Setting new future strategy stack:
  [14:30:49.385] List of future strategies:
  [14:30:49.385] 1. sequential:
  [14:30:49.385]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.385]    - tweaked: FALSE
  [14:30:49.385]    - call: NULL
  [14:30:49.386] plan(): nbrOfWorkers() = 1
  > strategy <- plan("next")
  > print(strategy)
  sequential:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: FALSE
  - call: NULL
  > stopifnot(all(class(strategy) == class(strategy0)))
  > plan("default")
  [14:30:49.387] plan(): Setting new future strategy stack:
  [14:30:49.388] List of future strategies:
  [14:30:49.388] 1. sequential:
  [14:30:49.388]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.388]    - tweaked: FALSE
  [14:30:49.388]    - call: NULL
  [14:30:49.389] plan(): nbrOfWorkers() = 1
  > message("- .onLoad() w/ -p 0 ... DONE")
  - .onLoad() w/ -p 0 ... DONE
  > 
  > message("- .onLoad() w/ -p -1 ...")
  - .onLoad() w/ -p -1 ...
  > options(future.plan = NULL, future.cmdargs = c("-p", -1))
  > .onLoad(pkgname, pkgname)
  [14:30:49.390] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.392] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  Warning: future: Ignoring invalid number of processes specified in command-line option: -p -1
  [14:30:49.393] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.393] Setting plan('default')
  [14:30:49.393] plan(): Setting new future strategy stack:
  [14:30:49.394] List of future strategies:
  [14:30:49.394] 1. sequential:
  [14:30:49.394]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.394]    - tweaked: FALSE
  [14:30:49.394]    - call: NULL
  [14:30:49.395] plan(): nbrOfWorkers() = 1
  > strategy <- plan("next")
  > print(strategy)
  sequential:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: FALSE
  - call: NULL
  > stopifnot(all(class(strategy) == class(strategy0)))
  > plan("default")
  [14:30:49.396] plan(): Setting new future strategy stack:
  [14:30:49.396] List of future strategies:
  [14:30:49.396] 1. sequential:
  [14:30:49.396]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.396]    - tweaked: FALSE
  [14:30:49.396]    - call: NULL
  [14:30:49.397] plan(): nbrOfWorkers() = 1
  > message("- .onLoad() w/ -p -1 ... DONE")
  - .onLoad() w/ -p -1 ... DONE
  > 
  > message("- .onLoad() w/ -p foo ...")
  - .onLoad() w/ -p foo ...
  > options(future.plan = NULL, future.cmdargs = c("-p", "foo"))
  > .onLoad(pkgname, pkgname)
  [14:30:49.398] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.400] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  Warning in parseCmdArgs() : NAs introduced by coercion
  Warning: future: Ignoring invalid number of processes specified in command-line option: -p foo
  [14:30:49.402] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.402] Setting plan('default')
  [14:30:49.402] plan(): Setting new future strategy stack:
  [14:30:49.403] List of future strategies:
  [14:30:49.403] 1. sequential:
  [14:30:49.403]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.403]    - tweaked: FALSE
  [14:30:49.403]    - call: NULL
  [14:30:49.403] plan(): nbrOfWorkers() = 1
  > strategy <- plan("next")
  > print(strategy)
  sequential:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: FALSE
  - call: NULL
  > stopifnot(all(class(strategy) == class(strategy0)))
  > plan("default")
  [14:30:49.405] plan(): Setting new future strategy stack:
  [14:30:49.405] List of future strategies:
  [14:30:49.405] 1. sequential:
  [14:30:49.405]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.405]    - tweaked: FALSE
  [14:30:49.405]    - call: NULL
  [14:30:49.406] plan(): nbrOfWorkers() = 1
  > message("- .onLoad() w/ -p foo ... DONE")
  - .onLoad() w/ -p foo ... DONE
  > 
  > message("- .onLoad() w/ R_FUTURE_PLAN = 'multisession' ...")
  - .onLoad() w/ R_FUTURE_PLAN = 'multisession' ...
  > Sys.setenv(R_FUTURE_PLAN = "multisession")
  > options(future.plan = NULL, future.cmdargs = NULL)
  > .onLoad(pkgname, pkgname)
  [14:30:49.407] Detected 'R CMD check':
   - adjusting defaults to be a good citizen
  [14:30:49.409] Future-specific environment variables:
  - R_FUTURE_MAKENODEPSOCK_AUTOKILL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_CONNECTTIMEOUT='120'
  - R_FUTURE_MAKENODEPSOCK_RSCRIPT_LABEL='TRUE'
  - R_FUTURE_MAKENODEPSOCK_SESSIONINFO_PKGS='TRUE'
  - R_FUTURE_MAKENODEPSOCK_TIMEOUT='120'
  - R_FUTURE_PLAN='multisession'
  - R_FUTURE_RANDOM_PORTS='20000:39999'
  - R_FUTURE_WAIT_INTERVAL='0.01'
  [14:30:49.409] R_FUTURE_PLAN='multisession'
  [14:30:49.409]  => options(future.plan = 'multisession')
  [14:30:49.410] Option 'future.plan' = 'multisession'
  [14:30:49.410] R process uuid: 58c45403-b936-a25c-85b5-dcfdf1f5fc44
  [14:30:49.410] Setting plan('default')
  [14:30:49.411] plan(): Setting new future strategy stack:
  [14:30:49.411] List of future strategies:
  [14:30:49.411] 1. multisession:
  [14:30:49.411]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.411]    - tweaked: FALSE
  [14:30:49.411]    - call: plan("default", .init = FALSE)
  [14:30:49.413] plan(): nbrOfWorkers() = 2
  > strategy <- plan("next")
  > print(strategy)
  multisession:
  - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  - tweaked: FALSE
  - call: plan("default", .init = FALSE)
  > stopifnot(inherits(strategy, "multisession"))
  > plan("default")
  [14:30:49.414] plan(): Setting new future strategy stack:
  [14:30:49.414] List of future strategies:
  [14:30:49.414] 1. multisession:
  [14:30:49.414]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.414]    - tweaked: FALSE
  [14:30:49.414]    - call: plan("default")
  [14:30:49.415] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ...
  [14:30:49.416] multisession:
  [14:30:49.416] - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [14:30:49.416] - tweaked: FALSE
  [14:30:49.416] - call: plan("default")
  [local output] Workers: [n = 2] 'localhost', 'localhost'
  [local output] Base port: 27017
  [local output] Creating node 1 of 2 ...
  [local output] - setting up node
  Testing if worker's PID can be inferred: ''/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/RtmpfNnQv2/future.parent=17074.42b212bc16e1.pid")), silent = TRUE)' -e "file.exists('/tmp/RtmpfNnQv2/future.parent=17074.42b212bc16e1.pid')"'
  - Possible to infer worker's PID: TRUE
  [local output] Starting worker #1 on 'localhost': '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=startup.R:17074:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/RtmpfNnQv2/future.parent=17074.42b212bc16e1.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=localhost PORT=27017 OUT=/dev/null TIMEOUT=120 XDR=TRUE
  [local output] - Exit code of system() call: 0
  [local output] Waiting for worker #1 on 'localhost' to connect back
  [local output] Detected a warning from socketConnection(): 'port 27017 cannot be opened'
  Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :
    port 27017 cannot be opened
  Killing worker process (PID 18392) if still alive
  [14:30:51.650] Attempting to find a working pid_exists_*() function ...
  Call: tools::pskill(17074, signal = 0L)
  [1] TRUE
  Call: tools::pskill(17074, signal = 0L)
  [1] TRUE
  [14:30:51.651] - success
  [14:30:51.652] Attempting to find a working pid_exists_*() function ... done
  Worker (PID 18392) was successfully killed: TRUE
  Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  : 
    Failed to launch and connect to R worker on local machine 'localhost' from local machine 'gimli'.
   * The error produced by socketConnection() was: 'cannot open the connection'
   * In addition, socketConnection() produced 1 warning(s):
     - Warning #1: 'port 27017 cannot be opened' (which suggests that this port is either already occupied by another process or blocked by the firewall on your local machine)
   * The localhost socket connection that failed to connect to the R worker used port 27017 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
   * Worker launch call: '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=startup.R:17074:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/RtmpfNnQv2/future.parent=17074.42b212bc16e1.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=localhost PORT=27017 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 18392) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'outfile=NULL' to see output from worker.
  Calls: plan ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  Execution halted