Running ‘testthat.R’ [3s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(riskmetric)
  > 
  > options(repos = "fake-cran.fake-r-project.org")
  > 
  > test_check("riskmetric")
  Error in `FUN()`:
  ! In path: "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/riskmetric.Rcheck/tests/testthat/setup_test_packages.R"
  Caused by error in `loadNamespace()`:
  ! there is no package called 'callr'
  Backtrace:
       ▆
    1. ├─testthat::test_check("riskmetric")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_setup(".", env)
    7. │           └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       ├─withr::with_libpaths(...) at tests/testthat/setup_test_packages.R:12:1
   15. │                       │ └─base::force(code)
   16. │                       └─devtools::install(...) at tests/testthat/setup_test_packages.R:13:3
   17. │                         └─pkgbuild::build(...)
   18. │                           ├─pkgbuild:::withr_with_makevars(...)
   19. │                           │ ├─pkgbuild:::withr_with_envvar(...)
   20. │                           │ │ └─base::force(code)
   21. │                           │ └─base::force(code)
   22. │                           ├─pkgbuild:::withr_with_temp_libpaths(...)
   23. │                           │ └─base::force(code)
   24. │                           └─pkgbuild::rcmd_build_tools(...)
   25. ├─base::loadNamespace(x)
   26. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   27. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
   28. │ │   └─base (local) doWithOneRestart(return(expr), restart)
   29. │ └─base::stop(cond)
   30. └─testthat (local) `<fn>`(`<pckgNtFE>`)
   31.   └─rlang::abort(...)
  Execution halted