Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(runDRT)
  > 
  > test_check("runDRT")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-run_drt.R:6:3'): test default ──────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'fda'
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-run_drt.R:6:3
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─runDRT::run_drt(...)
    5. ├─runDRT:::run_drt.formula(...)
    6. │ ├─base::eval(formula[[2]])
    7. │ │ └─base::eval(formula[[2]])
    8. │ └─base::t(fda::CanadianWeather$dailyAv[, , "Temperature.C"])
    9. └─base::loadNamespace(x)
   10.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.     └─base (local) withOneRestart(expr, restarts[[1L]])
   12.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-run_drt.R:26:3'): test method = suff.rank ──────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'fda'
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-run_drt.R:26:3
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─runDRT::run_drt(...)
    5. ├─runDRT:::run_drt.formula(...)
    6. │ ├─base::eval(formula[[2]])
    7. │ │ └─base::eval(formula[[2]])
    8. │ └─base::t(fda::CanadianWeather$dailyAv[, , "Temperature.C"])
    9. └─base::loadNamespace(x)
   10.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.     └─base (local) withOneRestart(expr, restarts[[1L]])
   12.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-run_drt.R:30:3'): test method = avg.rank ───────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'fda'
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-run_drt.R:30:3
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─runDRT::run_drt(...)
    5. ├─runDRT:::run_drt.formula(...)
    6. │ ├─base::eval(formula[[2]])
    7. │ │ └─base::eval(formula[[2]])
    8. │ └─base::t(fda::CanadianWeather$dailyAv[, , "Temperature.C"])
    9. └─base::loadNamespace(x)
   10.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.     └─base (local) withOneRestart(expr, restarts[[1L]])
   12.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted