Running ‘testthat.R’ [508s/432s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(drake)
  
  Attaching package: 'drake'
  
  The following object is masked from 'package:testthat':
  
      %>%
  
  > 
  > test_check("drake")
  1. Error: responses to imported objects and functions (@test-import-object.R#68) 
  error writing to connection
  1: testrun(config) at testthat/test-import-object.R:68
  2: make(plan = config$plan, targets = config$targets, envir = config$envir, verbose = config$verbose, 
         parallelism = config$parallelism, jobs = config$jobs, packages = config$packages, 
         prework = config$prework, prepend = config$prepend, command = config$command, 
         cache = config$cache)
  3: get(paste0("run_", parallelism), envir = getNamespace("drake"))(config)
  4: run_parallel(config = config, worker = worker_parLapply)
  5: parallel_stage(graph_remaining_targets = graph_remaining_targets, worker = worker, 
         config = config)
  6: worker(targets = build_these, hash_list = hash_list, config = config)
  7: parLapply(cl = config$cluster, X = targets, fun = build, hash_list = hash_list, config = config)
  8: do.call(c, clusterApply(cl, x = splitList(X, length(cl)), fun = lapply, fun, ...), 
         quote = TRUE)
  9: clusterApply(cl, x = splitList(X, length(cl)), fun = lapply, fun, ...)
  10: staticClusterApply(cl, fun, length(x), argfun)
  11: sendCall(cl[[i]], fun, argfun(start + i - 1L))
  12: postNode(con, "EXEC", list(fun = fun, args = args, return = return, tag = tag))
  13: sendData(con, list(type = type, data = value, tag = tag))
  14: sendData.SOCKnode(con, list(type = type, data = value, tag = tag))
  15: serialize(data, node$con)
  
  testthat results ================================================================
  OK: 777 SKIPPED: 0 FAILED: 1
  1. Error: responses to imported objects and functions (@test-import-object.R#68) 
  
  Error: testthat unit tests failed
  Execution halted