Running 'testthat.R' [346s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rangeMapper)
  Loading required package: RSQLite
  This is rangeMapper 0.3-7
  > 
  > test_check("rangeMapper")
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 1. Error: Pipeline works forward only (@test-1_projectINI.R#76)  ------------
  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 35260 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=testthat.R:162328:CRANWIN:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpE3MkGZ/future.parent=162328.27a182dfa1eb4.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=35260 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 203376) 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).
  Backtrace:
    1. rangeMapper::processRanges(...)
    2. rangeMapper::processRanges(...)
    3. rangeMapper:::.local(...)
    4. future::plan(future::multiprocess)
    5. future:::plan_set(...)
    6. future:::plan_init()
    7. future:::evaluator(...)
    8. future:::fun(...)
    9. future:::ClusterRegistry("start", workers = workers)
   10. future:::makeCluster(workers, ...)
   11. future::makeClusterPSOCK(workers, ...)
   12. future:::makeNode(...)
   13. (function() {...
   14. base::tryCatch(...)
   15. base:::tryCatchList(expr, classes, parentenv, handlers)
   16. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   17. value[[3L]](cond)
   18. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 2. Error: Process Ranges works parallel (@test-2_processRanges.R#89)  -------
  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 35260 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=testthat.R:162328:CRANWIN:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpE3MkGZ/future.parent=162328.27a1826f110f.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=35260 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 146960) was successfully killed: NA
   * 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).
  Backtrace:
    1. rangeMapper::processRanges(...)
    2. rangeMapper::processRanges(...)
    3. rangeMapper:::.local(...)
    4. future::plan(future::multiprocess)
    5. future:::plan_set(...)
    6. future:::plan_init()
    7. future:::evaluator(...)
    8. future:::fun(...)
    9. future:::ClusterRegistry("start", workers = workers)
   10. future:::makeCluster(workers, ...)
   11. future::makeClusterPSOCK(workers, ...)
   12. future:::makeNode(...)
   13. (function() {...
   14. base::tryCatch(...)
   15. base:::tryCatchList(expr, classes, parentenv, handlers)
   16. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   17. value[[3L]](cond)
   18. (function() {...
  
  == testthat results  ===========================================================
  [ OK: 30 | SKIPPED: 0 | WARNINGS: 274 | FAILED: 2 ]
  1. Error: Pipeline works forward only (@test-1_projectINI.R#76) 
  2. Error: Process Ranges works parallel (@test-2_processRanges.R#89) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted