Running 'test_parallel.R' [136s]
  Running 'testthat.R' [13s]
Running the tests in 'tests/test_parallel.R' failed.
Complete output:
  > 
  > library("kernelboot")
  > 
  > if ( future::availableCores() > 1L ) {
  + 
  +   # simply check if it fails
  + 
  +   stopifnot( kernelboot(mtcars, function(data) coef(lm(mpg ~ disp + hp + drat, data = data)),
  +                         R = 10, parallel = TRUE, workers = 2L)$param$parallel )
  + 
  +   # check reproducibility
  + 
  +   set.seed(0xBEEF)
  +   s1 <- kernelboot(mtcars, function(data) coef(lm(mpg ~ disp + hp + drat, data = data)),
  +                    R = 10, parallel = TRUE, workers = 2L)
  + 
  +   set.seed(0xBEEF)
  +   s2 <- kernelboot(mtcars, function(data) coef(lm(mpg ~ disp + hp + drat, data = data)),
  +                    R = 10, parallel = TRUE, workers = 2L)
  + 
  +   stopifnot( all.equal(s1, s2) )
  + 
  + }
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  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 'CRANWIN'.
   * The error produced by socketConnection() was: 'reached elapsed time limit' (which suggests that the connection timeout of 120 seconds (argument 'connectTimeout') kicked in)
   * The localhost socket connection that failed to connect to the R worker used port 20864 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
   * Worker launch call: "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=test_parallel.R:175576:CRANWIN:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpsRVQvN/future.parent=175576.2add824884216.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=20864 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 27616) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'verbose=TRUE' to see more details.
     - Suggestion #2: On Windows, output from worker when using 'outfile=NULL' is only visible when running R from a terminal (not a GUI).
  Calls: stopifnot ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  In addition: Warning messages:
  1: In doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  2: In doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  3: In doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  4: In doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  5: In doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  6: In doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  7: In doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  Execution halted