Running ‘test-all.R’ [5s/7s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("RFishBC")
  Loading required package: RFishBC
  ## RFishBC v0.2.6. See vignettes at fishr-core-team.github.io/RFishBC/.
  
  [ FAIL 5 | WARN 1 | SKIP 0 | PASS 442 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_MESSAGES.R:197:3'): showDigitizedImage() messages ──────────────
  Error in `text.default(c(0.32840034669699, 0.272739282758234, 0.218305407141036, 
  0.175548092413424, 0.137335028842532, 0.114911434221923, 0.0924878396013144, 
  0.077129713747056, 0.0546726986431895, 0.0401438384977219, 0.0272735097698358, 
  0.0214686498083003), c(0.372260329409842, 0.360222070436289, 
  0.348449225196842, 0.33920176222576, 0.330937120429739, 0.326087392090772, 
  0.321237663751805, 0.317916040281125, 0.31305908382965, 0.30991681221921, 
  0.307133244329248, 0.305877781307573), labels = "▲", col = 1:3, 
      cex = 1, pos = 1L, offset = 0)`: conversion failure on '▲' in 'mbcsToSbcs': for ▲
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test_MESSAGES.R:197:2
    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::showDigitizedImage(...)
    7.   └─RFishBC:::iShowOneDigitizedImage(...)
    8.     ├─graphics::text(...)
    9.     └─graphics:::text.formula(...)
   10.       ├─base::do.call("text", c(list(mf[[xn]], y), dots))
   11.       ├─graphics::text(...)
   12.       └─graphics::text.default(...)
  ── Failure ('test_MESSAGES.R:336: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:336:2
    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:338: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:338:2
    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)
  ── Error ('test_OUTPUTS.R:417:3'): backCalc() output values ────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'FSA'
  Backtrace:
      ▆
   1. ├─RFishBC::aStandard("Smallmouth Bass") at test_OUTPUTS.R:417:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_OUTPUTS.R:444:3'): aStandard() outputs ─────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'FSA'
  Backtrace:
      ▆
   1. ├─testthat::expect_type(aStandard("Bluegill"), "integer") at test_OUTPUTS.R:444:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─RFishBC::aStandard("Bluegill")
   5. └─base::loadNamespace(x)
   6.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7.     └─base (local) withOneRestart(expr, restarts[[1L]])
   8.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 5 | WARN 1 | SKIP 0 | PASS 442 ]
  Error: Test failures
  Execution halted