Running ‘testthat.R’ [38s/27s]
  Running ‘wipe.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pkgload)
  > 
  > # Needed so that install.packages works correctly
  > Sys.setenv("R_TESTS" = "")
  > 
  > test_check("pkgload")
  Starting 2 test processes.
  Saving _problems/test-dll-21.R
  Saving _problems/test-dll-25.R
  Saving _problems/test-dll-73.R
  [ FAIL 3 | WARN 1 | SKIP 19 | PASS 338 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • "pkgload" %in% dev_packages() is not TRUE (1): 'test-shim.R:141:3'
  • On CRAN (15): 'test-depend.R:3:1', 'test-depend.R:14:1',
    'test-depend.R:33:1', 'test-help.R:39:3', 'test-help.R:52:1',
    'test-help.R:116:1', 'test-help.R:129:3', 'test-help.R:141:1',
    'test-help.R:186:3', 'test-load-hooks.R:152:1', 'test-load.R:37:1',
    'test-namespace.R:114:1', 'test-source.R:1:1', 'test-shim.R:59:1',
    'test-shim.R:159:3'
  • lang %in% c("C", "C.UTF-8") is TRUE (2): 'test-po.R:4:3', 'test-po.R:16:3'
  • {httr} is not installed (1): 'test-depend.R:59:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-dll.R:21:3'): unload() unloads DLLs from packages loaded with library() ──
  Expected `require(testDllLoad, quietly = TRUE)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Error ('test-dll.R:25:3'): unload() unloads DLLs from packages loaded with library() ──
  <functionNotFoundError/objectNotFoundError/error/condition>
  Error in `nulltest()`: could not find function "nulltest"
  Backtrace:
      ▆
   1. └─testthat::expect_null(nulltest()) at test-dll.R:25:3
   2.   └─testthat::quasi_label(enquo(object), label)
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('test-dll.R:73:3'): load_all() compiles and loads DLLs ───────────────
  <system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition>
  Error in `c("(function (command = NULL, args = character(), error_on_status = TRUE, ", "    wd = NULL, echo_cmd = FALSE, echo = FALSE, spinner = FALSE, ")`: ! System command 'R' failed
  Backtrace:
       ▆
    1. ├─pkgload::load_all("testDllLoad", recompile = TRUE, quiet = TRUE) at test-dll.R:73:3
    2. │ └─pkgbuild::compile_dll(path, quiet = quiet, debug = debug)
    3. │   ├─pkgbuild:::withr_with_makevars(...)
    4. │   │ ├─pkgbuild:::withr_with_envvar(...)
    5. │   │ │ └─base::force(code)
    6. │   │ └─base::force(code)
    7. │   ├─pkgbuild:::withr_with_envvar(c(DEBUG = "true"), build())
    8. │   │ └─base::force(code)
    9. │   └─pkgbuild::build()
   10. │     └─pkgbuild:::install_min(...)
   11. │       └─pkgbuild::rcmd_build_tools(...)
   12. │         ├─pkgbuild::with_build_tools(...)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─callr::rcmd_safe(...)
   15. │           └─callr:::run_r(options)
   16. │             ├─base::with(...)
   17. │             └─base::with.default(...)
   18. │               └─base::eval(substitute(expr), data, enclos = parent.frame())
   19. │                 └─base::eval(substitute(expr), data, enclos = parent.frame())
   20. │                   ├─callr:::with_envvar(...)
   21. │                   │ └─base::force(code)
   22. │                   ├─base::do.call(...)
   23. │                   └─processx (local) `<fn>`(...)
   24. │                     └─throw(...)
   25. │                       └─base::signalCondition(cond)
   26. └─pkgbuild (local) `<fn>`(`<S3: system_command_status_error>`)
   27.   └─asNamespace("callr")$err$throw(e)
  
  [ FAIL 3 | WARN 1 | SKIP 19 | PASS 338 ]
  Error:
  ! Test failures.
  Execution halted