CRAN Package Check Results for Package JSmediation

Last updated on 2022-01-23 00:57:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 2.92 250.74 253.66 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.01 179.57 182.58 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 290.85 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.0 281.70 NOTE
r-devel-windows-x86_64-new-UL 0.2.0 81.00 226.00 307.00 OK
r-devel-windows-x86_64-new-TK 0.2.0 ERROR
r-patched-linux-x86_64 0.2.0 9.44 233.91 243.35 OK
r-release-linux-x86_64 0.2.0 2.67 240.65 243.32 OK
r-release-macos-arm64 0.2.0 NOTE
r-release-macos-x86_64 0.2.0 NOTE
r-release-windows-ix86+x86_64 0.2.0 9.00 236.00 245.00 OK
r-oldrel-macos-x86_64 0.2.0 NOTE
r-oldrel-windows-ix86+x86_64 0.2.0 10.00 241.00 251.00 OK

Check Details

Version: 0.2.0
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘utils’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-TK, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.2.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: 'mediation', 'processR'
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(JSmediation)
     >
     > test_check("JSmediation")
     Starting 2 test processes
     [ FAIL 2 | WARN 0 | SKIP 1 | PASS 89 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-compute_indirect_effect_for.R:53:3): JSmediation approach is consistent with the {mediation} approach (Mod = 1) ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mediation'
     Backtrace:
     █
     1. └─base::loadNamespace(x)
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-compute_indirect_effect_for.R:92:3): JSmediation approach is consistent with the {processR} approach (Mod = -1, 0, 1) ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'processR'
     Backtrace:
     █
     1. └─base::loadNamespace(x)
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 2 | WARN 0 | SKIP 1 | PASS 89 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK