Running ‘test-all.R’ [27s/39s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("FSA")
  Loading required package: FSA
  ## FSA v0.9.5. See citation('FSA') if used in publication.
  ## Run fishR() for related website and fishR('IFAR') for related book.
      species  units      type ref measure method min.len max.len     int  slope
  143   Ruffe metric quadratic  50      TL    EmP      55     205 -3.3524 1.3969
  144   Ruffe metric quadratic  75      TL    EmP      55     205 -2.5800 0.6210
        quad                   source comment
  143 0.4054 Ogle and Winfield (2009)    none
  144 0.6073 Ogle and Winfield (2009)    none
      species  units   type ref measure method min.len max.len    int slope quad
  26 Bluegill metric linear  75      TL  Other      80      NA -5.374 3.316   NA
             source comment
  26 Hillman (1982)    none
  [ FAIL 4 | WARN 20 | SKIP 16 | PASS 3470 ]
  
  ══ Skipped tests (16) ══════════════════════════════════════════════════════════
  • empty test (16): 'testthat_AgeComparisons.R:150:1',
    'testthat_AgeComparisons.R:180:1', 'testthat_AgeComparisons.R:231:1',
    'testthat_AgeLengthKey.R:273:1', 'testthat_VonBertalanffy.R:303:1',
    'testthat_depletion.R:305:1', 'testthat_depletion.R:326:1',
    'testthat_depletion.R:348:1', 'testthat_depletion.R:410:1',
    'testthat_mrClosed.R:501:1', 'testthat_mrClosed.R:527:1',
    'testthat_mrClosed.R:558:1', 'testthat_mrClosed.R:573:1',
    'testthat_removal.R:299:1', 'testthat_removal.R:341:1',
    'testthat_removal.R:370:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('testthat_depletion.R:297:5'): depletion() with 'Leslie' matches fishmethod's 'deplet' for lobster data ──
  Error in `eval(code, test_env)`: object 'cf3' not found
  Backtrace:
      ▆
   1. └─testthat::expect_equal(...) at testthat_depletion.R:297:5
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('testthat_depletion.R:318:5'): depletion() with 'Leslie' matches fishmethod's 'deplet' for blue crab data ──
  Error in `eval(code, test_env)`: object 'cf5' not found
  Backtrace:
      ▆
   1. └─testthat::expect_equal(...) at testthat_depletion.R:318:5
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('testthat_depletion.R:371:5'): depletion() with 'DeLury' and Ricker.mod matches fishmethod's 'deplet' for the lobster data ──
  Error in `eval(code, test_env)`: object 'cf4' not found
  Backtrace:
      ▆
   1. └─testthat::expect_equal(...) at testthat_depletion.R:371:5
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('testthat_depletion.R:391:5'): depletion() with 'DeLury' and Ricker.mod matches fishmethod's 'deplet' for the blue crab data ──
  Error in `eval(code, test_env)`: object 'cf6' not found
  Backtrace:
      ▆
   1. └─testthat::expect_equal(...) at testthat_depletion.R:391:5
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 4 | WARN 20 | SKIP 16 | PASS 3470 ]
  Error: Test failures
  Execution halted