CRAN Package Check Results for Package RFishBC

Last updated on 2022-01-28 00:49:06 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 4.47 45.99 50.46 OK
r-devel-linux-x86_64-debian-gcc 0.2.3 3.76 35.73 39.49 OK
r-devel-linux-x86_64-fedora-clang 0.2.3 63.05 OK
r-devel-linux-x86_64-fedora-gcc 0.2.3 50.77 OK
r-devel-windows-x86_64-new-UL 0.2.3 42.00 67.00 109.00 OK
r-devel-windows-x86_64-new-TK 0.2.3 ERROR
r-patched-linux-x86_64 0.2.3 4.83 43.63 48.46 OK
r-release-linux-x86_64 0.2.3 4.59 44.30 48.89 OK
r-release-macos-arm64 0.2.3 OK
r-release-macos-x86_64 0.2.3 OK
r-release-windows-ix86+x86_64 0.2.3 14.00 53.00 67.00 OK
r-oldrel-macos-x86_64 0.2.3 OK
r-oldrel-windows-ix86+x86_64 0.2.3 9.00 60.00 69.00 OK

Check Details

Version: 0.2.3
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'FSA'
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.2.3
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: 'FSA'
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in 'RFishBC-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: aStandard
    > ### Title: Finds standard intercept (a) for Fraser-Lee back-calculation
    > ### model for a particular species.
    > ### Aliases: aStandard
    > ### Keywords: manip
    >
    > ### ** Examples
    >
    > aStandard("Bluegill")
    Error in loadNamespace(x) : there is no package called 'FSA'
    Calls: aStandard ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.2.3
Check: tests
Result: ERROR
     Running 'test-all.R'
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > test_check("RFishBC")
     Loading required package: RFishBC
     ## RFishBC v0.2.3. See vignettes at derekogle.com/RFishBC/.
    
     [ FAIL 4 | WARN 1 | SKIP 0 | PASS 446 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── 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") test_MESSAGES.R:336:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat:::.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:::withOneRestart(expr, restarts[[1L]])
     10. └─base:::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") test_MESSAGES.R:338:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat:::.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:::withOneRestart(expr, restarts[[1L]])
     10. └─base:::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") test_OUTPUTS.R:417:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::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") 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:::withOneRestart(expr, restarts[[1L]])
     8. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 4 | WARN 1 | SKIP 0 | PASS 446 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK