Running ‘test-all.R’ [52s/70s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("FSA")
  Loading required package: FSA
  ## FSA v0.8.11. See citation('FSA') if used in publication.
  ## Run fishR() for related website and fishR('IFAR') for related book.
  1. Failure: catchCurve() and chapmanRobson() match results from fishmethods package (@test_CatchCurve_VALIDATE.R#41) 
  round(scr1["Z", "Estimate"], 2) not equal to fm$Estimate[6].
  1/1 mismatches
  [1] 0.8 - 0.66 == 0.14
  
  
  2. Failure: catchCurve() and chapmanRobson() match results from fishmethods package (@test_CatchCurve_VALIDATE.R#42) 
  round(scr1["Z", "Std. Error"], 3) not equal to fm$SE[6].
  1/1 mismatches
  [1] 0.053 - 0.043 == 0.01
  
  
  testthat results ================================================================
  OK: 3557 SKIPPED: 0 FAILED: 2
  1. Failure: catchCurve() and chapmanRobson() match results from fishmethods package (@test_CatchCurve_VALIDATE.R#41) 
  2. Failure: catchCurve() and chapmanRobson() match results from fishmethods package (@test_CatchCurve_VALIDATE.R#42) 
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In .swts * attr(rhs, "gradient") :
    Recycling array of length 1 in vector-array arithmetic is deprecated.
    Use c() or as.vector() instead.
  
  2: In .swts * attr(rhs, "gradient") :
    Recycling array of length 1 in vector-array arithmetic is deprecated.
    Use c() or as.vector() instead.
  
  3: In .swts * attr(rhs, "gradient") :
    Recycling array of length 1 in vector-array arithmetic is deprecated.
    Use c() or as.vector() instead.
  
  4: In .swts * attr(rhs, "gradient") :
    Recycling array of length 1 in vector-array arithmetic is deprecated.
    Use c() or as.vector() instead.
  
  5: In .swts * attr(rhs, "gradient") :
    Recycling array of length 1 in vector-array arithmetic is deprecated.
    Use c() or as.vector() instead.
  
  6: In .swts * attr(rhs, "gradient") :
    Recycling array of length 1 in vector-array arithmetic is deprecated.
    Use c() or as.vector() instead.
  
  Execution halted