CRAN Package Check Results for Package shapr

Last updated on 2021-01-20 09:50:00 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3 88.88 91.52 180.40 OK
r-devel-linux-x86_64-debian-gcc 0.1.3 51.68 73.15 124.83 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 212.28 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.3 195.54 OK
r-devel-windows-ix86+x86_64 0.1.3 148.00 129.00 277.00 OK
r-patched-linux-x86_64 0.1.3 66.38 79.18 145.56 OK
r-patched-solaris-x86 0.1.3 208.40 OK
r-release-linux-x86_64 0.1.3 63.40 79.64 143.04 OK
r-release-macos-x86_64 0.1.3 OK
r-release-windows-ix86+x86_64 0.1.3 194.00 115.00 309.00 OK
r-oldrel-macos-x86_64 0.1.3 OK
r-oldrel-windows-ix86+x86_64 0.1.3 132.00 108.00 240.00 OK

Check Details

Version: 0.1.3
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘xgboost’
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [17s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shapr)
     >
     > test_check("shapr")
     OMP: Warning #96: Cannot form a team with 10 threads, using 2 instead.
     OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
     ══ Warnings ════════════════════════════════════════════════════════════════════
     ── Warning (test-a-shapley.R:6:1): (code run outside of `test_that()`) ─────────
     non-uniform 'Rounding' sampler used
     Backtrace:
     1. base::RNGversion(vstr = "3.5.0") test-a-shapley.R:6:0
     2. base::RNGkind("Mersenne-Twister", "Inversion", "Rounding")
     ── Warning (test-explanation.R:7:1): (code run outside of `test_that()`) ───────
     non-uniform 'Rounding' sampler used
     Backtrace:
     1. base::RNGversion(vstr = "3.5.0") test-explanation.R:7:0
     2. base::RNGkind("Mersenne-Twister", "Inversion", "Rounding")
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-a-shapley.R:44:3): Testing data input to shapr in shapley.R ─────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-a-shapley.R:44:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-explanation.R:151:3): Testing data input to explain in explanation.R ──
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-explanation.R:151:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:19:3): Test predict_model (regression) ─────────────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-models.R:19:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:86:3): Test predict_model (binary classification) ──────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-models.R:86:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:195:3): Test predict_model (multi-classification) ──────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-models.R:195:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:255:3): Test features (regression) ─────────────────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-models.R:255:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:284:3): Test features (binary classification) ──────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-models.R:284:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:319:3): Test missing colnames ──────────────────────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-models.R:319:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 8 | WARN 2 | SKIP 0 | PASS 383 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘understanding_shapr.Rmd’ using rmarkdown
    Quitting from lines 224-265 (understanding_shapr.Rmd)
    Error: processing vignette 'understanding_shapr.Rmd' failed with diagnostics:
    there is no package called 'xgboost'
    --- failed re-building ‘understanding_shapr.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘understanding_shapr.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang