Running ‘test-all.R’ [48s/130s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("FSA")
  Loading required package: FSA
  ## FSA v0.9.1. See citation('FSA') if used in publication.
  ## Run fishR() for related website and fishR('IFAR') for related book.
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (testthat_FSAUtils.R:25:3): geomean() / geosd() messages ────────────
  `geomean(data.frame(x = 1:3))` threw an error with unexpected message.
  Expected match: "must be a vector"
  Actual message: "'x' must be a numeric vector."
  Backtrace:
      █
   1. ├─testthat::expect_error(geomean(data.frame(x = 1:3)), "must be a vector") testthat_FSAUtils.R:25:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─FSA::geomean(data.frame(x = 1:3))
   7.   └─FSA:::iChk4Geos(x, na.rm, zneg.rm)
   8.     └─FSA:::STOP("'x' must be a numeric vector.")
  ── Failure (testthat_FSAUtils.R:26:3): geomean() / geosd() messages ────────────
  `geosd(data.frame(x = 1:3))` threw an error with unexpected message.
  Expected match: "must be a vector"
  Actual message: "'x' must be a numeric vector."
  Backtrace:
      █
   1. ├─testthat::expect_error(geosd(data.frame(x = 1:3)), "must be a vector") testthat_FSAUtils.R:26:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─FSA::geosd(data.frame(x = 1:3))
   7.   └─FSA:::iChk4Geos(x, na.rm, zneg.rm)
   8.     └─FSA:::STOP("'x' must be a numeric vector.")
  ── Failure (testthat_FSAUtils.R:115:3): se() messages ──────────────────────────
  `se(data.frame(x = 1:5))` threw an error with unexpected message.
  Expected match: "vector"
  Actual message: "'x' must be numeric."
  Backtrace:
      █
   1. ├─testthat::expect_error(se(data.frame(x = 1:5)), "vector") testthat_FSAUtils.R:115:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─FSA::se(data.frame(x = 1:5))
   7.   └─FSA:::STOP("'x' must be numeric.")
  ── Failure (testthat_ciDists.R:22:3): binCI() messages ─────────────────────────
  `binCI(data.frame(d = 6:9), 10)` threw an error with unexpected message.
  Expected match: "'x' must be a single or vector"
  Actual message: "'x' must be whole numbers."
  Backtrace:
      █
   1. ├─testthat::expect_error(binCI(data.frame(d = 6:9), 10), "'x' must be a single or vector") testthat_ciDists.R:22:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─FSA::binCI(data.frame(d = 6:9), 10)
   7.   └─FSA:::STOP("'x' must be whole numbers.")
  ── Failure (testthat_ciDists.R:23:3): binCI() messages ─────────────────────────
  `binCI(2, data.frame(d = 6:9))` threw an error with unexpected message.
  Expected match: "'n' must be a single or vector"
  Actual message: "'n' must be whole numbers."
  Backtrace:
      █
   1. ├─testthat::expect_error(binCI(2, data.frame(d = 6:9)), "'n' must be a single or vector") testthat_ciDists.R:23:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─FSA::binCI(2, data.frame(d = 6:9))
   7.   └─FSA:::STOP("'n' must be whole numbers.")
  ── Failure (testthat_ciDists.R:57:3): poiCI() messages ─────────────────────────
  `poiCI(data.frame(d = 6:9))` threw an error with unexpected message.
  Expected match: "'x' must be a single or vector"
  Actual message: "'x' must be a whole number."
  Backtrace:
      █
   1. ├─testthat::expect_error(poiCI(data.frame(d = 6:9)), "'x' must be a single or vector") testthat_ciDists.R:57:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─FSA::poiCI(data.frame(d = 6:9))
   7.   └─FSA:::STOP("'x' must be a whole number.")
  ── Failure (testthat_expandLenFreq.R:7:3): expandLenFreq() messages ────────────
  `expandLenFreq(df, 1, 17)` threw an error with unexpected message.
  Expected match: "must be a vector"
  Actual message: "'x' must be numeric."
  Backtrace:
      █
   1. ├─testthat::expect_error(expandLenFreq(df, 1, 17), "must be a vector") testthat_expandLenFreq.R:7:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─FSA::expandLenFreq(df, 1, 17)
   7.   └─FSA:::STOP("'x' must be numeric.")
  ── Error (testthat_removal.R:153:3): removal() return types ────────────────────
  Error in `removal(data.frame(c(38, 26, 12)))`: 'catch' must be a vector of numeric values.
  Backtrace:
      █
   1. ├─testthat::expect_equal(...) testthat_removal.R:153:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─FSA::removal(data.frame(c(38, 26, 12)))
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 3433 ]
  Error: Test failures
  Execution halted