Running 'testthat.R' [18m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(jstor)
  > 
  > test_check("jstor")
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 1. Error: writing to file in parallel works (@test-writing-to-file.R#33)  ---
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d0207b2a7691.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 37492) 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. future::plan(future::multisession)
    2. future:::plan_set(...)
    3. future:::plan_init()
    4. future:::evaluator(...)
    5. future:::ClusterRegistry("start", workers = workers)
    6. future:::makeCluster(workers, ...)
    7. future::makeClusterPSOCK(workers, ...)
    8. future:::makeNode(...)
    9. (function() {...
   10. base::tryCatch(...)
   11. base:::tryCatchList(expr, classes, parentenv, handlers)
   12. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13. value[[3L]](cond)
   14. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 2. Error: not writing column names works (@test-writing-to-file.R#48)  ------
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d02038a83c89.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 109572) 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. jstor:::jstor_convert_to_file(...)
    2. furrr::future_map(in_paths, safe_fun, .progress = progress)
    3. furrr:::future_map_template(...)
    4. future::future(...)
    5. future:::.makeFuture(...)
    6. future:::makeFuture(...)
    7. future:::ClusterRegistry("start", workers = workers)
    8. future:::makeCluster(workers, ...)
    9. future::makeClusterPSOCK(workers, ...)
   10. future:::makeNode(...)
   11. (function() {...
   12. base::tryCatch(...)
   13. base:::tryCatchList(expr, classes, parentenv, handlers)
   14. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. value[[3L]](cond)
   16. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 3. Error: writing error messages to file works (@test-writing-to-file.R#63)  
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d0208bf4e0b.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 193420) 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. jstor:::jstor_convert_to_file(...)
    2. furrr::future_map(in_paths, safe_fun, .progress = progress)
    3. furrr:::future_map_template(...)
    4. future::future(...)
    5. future:::.makeFuture(...)
    6. future:::makeFuture(...)
    7. future:::ClusterRegistry("start", workers = workers)
    8. future:::makeCluster(workers, ...)
    9. future::makeClusterPSOCK(workers, ...)
   10. future:::makeNode(...)
   11. (function() {...
   12. base::tryCatch(...)
   13. base:::tryCatchList(expr, classes, parentenv, handlers)
   14. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. value[[3L]](cond)
   16. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 4. Error: import wrapper works with column names (@test-writing-to-file.R#88)
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d02079e4bc9.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 23092) 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. jstor::jst_import(...)
    2. purrr::pwalk(...)
    3. purrr::pmap(.l, .f, ...)
    4. jstor:::.f(...)
    5. furrr::future_map(in_paths, safe_fun, .progress = progress)
    6. furrr:::future_map_template(...)
    7. future::future(...)
    8. future:::.makeFuture(...)
    9. future:::makeFuture(...)
   10. future:::ClusterRegistry("start", workers = workers)
   11. future:::makeCluster(workers, ...)
   12. future::makeClusterPSOCK(workers, ...)
   13. future:::makeNode(...)
   14. (function() {...
   15. base::tryCatch(...)
   16. base:::tryCatchList(expr, classes, parentenv, handlers)
   17. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18. value[[3L]](cond)
   19. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 5. Error: import wrapper works without column names (@test-writing-to-file.R#
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d020161b119f.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 40412) 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. jstor::jst_import(...)
    2. purrr::pwalk(...)
    3. purrr::pmap(.l, .f, ...)
    4. jstor:::.f(...)
    5. furrr::future_map(in_paths, safe_fun, .progress = progress)
    6. furrr:::future_map_template(...)
    7. future::future(...)
    8. future:::.makeFuture(...)
    9. future:::makeFuture(...)
   10. future:::ClusterRegistry("start", workers = workers)
   11. future:::makeCluster(workers, ...)
   12. future::makeClusterPSOCK(workers, ...)
   13. future:::makeNode(...)
   14. (function() {...
   15. base::tryCatch(...)
   16. base:::tryCatchList(expr, classes, parentenv, handlers)
   17. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18. value[[3L]](cond)
   19. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 6. Error: files_per_batch works (@test-writing-to-file.R#114)  --------------
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d020722136d0.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 25184) 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. jstor::jst_import(...)
    2. purrr::pwalk(...)
    3. purrr::pmap(.l, .f, ...)
    4. jstor:::.f(...)
    5. furrr::future_map(in_paths, safe_fun, .progress = progress)
    6. furrr:::future_map_template(...)
    7. future::future(...)
    8. future:::.makeFuture(...)
    9. future:::makeFuture(...)
   10. future:::ClusterRegistry("start", workers = workers)
   11. future:::makeCluster(workers, ...)
   12. future::makeClusterPSOCK(workers, ...)
   13. future:::makeNode(...)
   14. (function() {...
   15. base::tryCatch(...)
   16. base:::tryCatchList(expr, classes, parentenv, handlers)
   17. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18. value[[3L]](cond)
   19. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 7. Error: n_batches works for n > 1 (@test-writing-to-file.R#130)  ----------
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d0203cea6393.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 194516) 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. jstor::jst_import(...)
    2. purrr::pwalk(...)
    3. purrr::pmap(.l, .f, ...)
    4. jstor:::.f(...)
    5. furrr::future_map(in_paths, safe_fun, .progress = progress)
    6. furrr:::future_map_template(...)
    7. future::future(...)
    8. future:::.makeFuture(...)
    9. future:::makeFuture(...)
   10. future:::ClusterRegistry("start", workers = workers)
   11. future:::makeCluster(workers, ...)
   12. future::makeClusterPSOCK(workers, ...)
   13. future:::makeNode(...)
   14. (function() {...
   15. base::tryCatch(...)
   16. base:::tryCatchList(expr, classes, parentenv, handlers)
   17. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18. value[[3L]](cond)
   19. (function() {...
  
  Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
    object '.slaveRSOCK' not found
  Calls: ::: -> get
  Execution halted
  -- 8. Error: importing from zip works (@test-zip.R#29)  ------------------------
  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 11293 using a communication timeout of 2592000 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 "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpwzPBZU/future.parent=118816.1d02071082146.pid\")), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11293 OUT=/dev/null TIMEOUT=2592000 XDR=TRUE.
   * Worker (PID 62668) 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. jstor::jst_import_zip(...)
    2. base::split(., .$meta_type)
   10. purrr::walk(...)
   11. purrr::map(.x, .f, ...)
   12. jstor:::.f(.x[[i]], ...)
   13. purrr::pwalk(...)
   14. purrr::pmap(.l, .f, ...)
   15. jstor:::.f(...)
   16. furrr::future_map(in_paths, safe_fun, .progress = progress)
   17. furrr:::future_map_template(...)
       ...
   21. future:::ClusterRegistry("start", workers = workers)
   22. future:::makeCluster(workers, ...)
   23. future::makeClusterPSOCK(workers, ...)
   24. future:::makeNode(...)
   25. (function() {...
   26. base::tryCatch(...)
   27. base:::tryCatchList(expr, classes, parentenv, handlers)
   28. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   29. value[[3L]](cond)
   30. (function() {...
  
  == testthat results  ===========================================================
  [ OK: 235 | SKIPPED: 5 | WARNINGS: 56 | FAILED: 8 ]
  1. Error: writing to file in parallel works (@test-writing-to-file.R#33) 
  2. Error: not writing column names works (@test-writing-to-file.R#48) 
  3. Error: writing error messages to file works (@test-writing-to-file.R#63) 
  4. Error: import wrapper works with column names (@test-writing-to-file.R#88) 
  5. Error: import wrapper works without column names (@test-writing-to-file.R#101) 
  6. Error: files_per_batch works (@test-writing-to-file.R#114) 
  7. Error: n_batches works for n > 1 (@test-writing-to-file.R#130) 
  8. Error: importing from zip works (@test-zip.R#29) 
  
  Error: testthat unit tests failed
  Execution halted