Running ‘test-all.R’ [3s/5s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("RFishBC")
  Loading required package: RFishBC
  ## RFishBC v0.2.7. See vignettes at fishr-core-team.github.io/RFishBC/.
  
  Saving _problems/test_MESSAGES-355.R
  Saving _problems/test_MESSAGES-357.R
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 421 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • {FSA} is not installed. (3): 'test_OUTPUTS.R:347:3', 'test_OUTPUTS.R:417:3',
    'test_OUTPUTS.R:444:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_MESSAGES.R:354:3'): aStandard() messages ─────────────────────
  `aStandard("Derek")` threw an error with unexpected message.
  Expected match: "must be one of"
  Actual message: "there is no package called 'FSA'"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(aStandard("Derek"), "must be one of") at test_MESSAGES.R:354:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─RFishBC::aStandard("Derek")
    7. └─base::loadNamespace(x)
    8.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9.     └─base (local) withOneRestart(expr, restarts[[1L]])
   10.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Failure ('test_MESSAGES.R:356:3'): aStandard() messages ─────────────────────
  `aStandard(c("Walleye", "Bluegill"))` threw an error with unexpected message.
  Expected match: "have only one name in"
  Actual message: "there is no package called 'FSA'"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(aStandard(c("Walleye", "Bluegill")), "have only one name in") at test_MESSAGES.R:356:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─RFishBC::aStandard(c("Walleye", "Bluegill"))
    7. └─base::loadNamespace(x)
    8.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9.     └─base (local) withOneRestart(expr, restarts[[1L]])
   10.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 421 ]
  Error:
  ! Test failures.
  Execution halted