Running ‘testthat.R’ [9s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(crew)
  
  Attaching package: 'crew'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("crew")
  [ FAIL 12 | WARN 0 | SKIP 29 | PASS 137 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (29)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-crew_controller_callr.R:62:3'): crew_controller_callr() ──────
  x$summary()$popped_tasks (`actual`) not equal to 1L (`expected`).
  
    `actual`: 0
  `expected`: 1
  ── Failure ('test-crew_controller_callr.R:67:3'): crew_controller_callr() ──────
  out$result[[1]] (`actual`) not equal to x$launcher$workers$handle[[1]]$get_pid() (`expected`).
  
  `actual` is a logical vector (NA)
  `expected` is an integer vector (1959179)
  ── Failure ('test-crew_controller_callr.R:69:3'): crew_controller_callr() ──────
  anyNA(out$seconds) is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  ── Failure ('test-crew_controller_callr.R:70:3'): crew_controller_callr() ──────
  out$seconds >= 0 is not TRUE
  
  `actual`:   <NA>
  `expected`: TRUE
  ── Failure ('test-crew_controller_callr.R:71:3'): crew_controller_callr() ──────
  anyNA(out$error) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-crew_eval.R:2:3'): valid monad from crew_eval() ────────────────
  Error in `rm(list = state$delete, envir = envir)`: invalid first argument
  Backtrace:
      ▆
   1. └─crew::crew_eval(quote(1L + 1L)) at test-crew_eval.R:2:2
   2.   └─crew:::envir_restore(state = old_globals, envir = globalenv()) at test-crew_eval.R:2:2
   3.     └─base::rm(list = state$delete, envir = envir)
  ── Error ('test-crew_eval.R:7:3'): keep track of seconds ───────────────────────
  Error in `rm(list = state$delete, envir = envir)`: invalid first argument
  Backtrace:
      ▆
   1. └─crew::crew_eval(quote(1L + 1L)) at test-crew_eval.R:7:2
   2.   └─crew:::envir_restore(state = old_globals, envir = globalenv()) at test-crew_eval.R:7:2
   3.     └─base::rm(list = state$delete, envir = envir)
  ── Error ('test-crew_eval.R:14:3'): run without error ──────────────────────────
  Error in `rm(list = state$delete, envir = envir)`: invalid first argument
  Backtrace:
      ▆
   1. └─crew::crew_eval(quote(1L + 1L)) at test-crew_eval.R:14:2
   2.   └─crew:::envir_restore(state = old_globals, envir = globalenv()) at test-crew_eval.R:14:2
   3.     └─base::rm(list = state$delete, envir = envir)
  ── Error ('test-crew_eval.R:21:3'): run with error ─────────────────────────────
  Error in `rm(list = state$delete, envir = envir)`: invalid first argument
  Backtrace:
      ▆
   1. └─crew::crew_eval(quote(stop(12345))) at test-crew_eval.R:21:2
   2.   └─crew:::envir_restore(state = old_globals, envir = globalenv()) at test-crew_eval.R:21:2
   3.     └─base::rm(list = state$delete, envir = envir)
  ── Error ('test-crew_eval.R:28:3'): error with no message ──────────────────────
  Error in `rm(list = state$delete, envir = envir)`: invalid first argument
  Backtrace:
      ▆
   1. └─crew::crew_eval(quote(stop())) at test-crew_eval.R:28:2
   2.   └─crew:::envir_restore(state = old_globals, envir = globalenv()) at test-crew_eval.R:28:2
   3.     └─base::rm(list = state$delete, envir = envir)
  ── Error ('test-crew_eval.R:70:3'): crew_eval() seed ───────────────────────────
  Error in `rm(list = state$delete, envir = envir)`: invalid first argument
  Backtrace:
      ▆
   1. └─crew::crew_eval(...) at test-crew_eval.R:70:2
   2.   └─crew:::envir_restore(state = old_globals, envir = globalenv()) at test-crew_eval.R:70:2
   3.     └─base::rm(list = state$delete, envir = envir)
  ── Error ('test-crew_eval.R:81:3'): crew_eval() local data and garbage collection ──
  Error in `rm(list = state$delete, envir = envir)`: invalid first argument
  Backtrace:
      ▆
   1. └─crew::crew_eval(...) at test-crew_eval.R:81:2
   2.   └─crew:::envir_restore(state = old_globals, envir = globalenv()) at test-crew_eval.R:81:2
   3.     └─base::rm(list = state$delete, envir = envir)
  
  [ FAIL 12 | WARN 0 | SKIP 29 | PASS 137 ]
  Error: Test failures
  Execution halted