CRAN Package Check Results for Package shapr

Last updated on 2021-01-18 05:47:39 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 55.84 71.81 127.65 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 224.93 OK
r-devel-linux-x86_64-fedora-gcc 0.1.3 195.24 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 68.06 78.27 146.33 OK
r-patched-solaris-x86 0.1.3 185.80 ERROR
r-release-linux-x86_64 0.1.3 64.82 77.51 142.33 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 173.00 139.00 312.00 OK

Check Details

Version: 0.1.3
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘xgboost’
Flavor: r-patched-solaris-x86

Version: 0.1.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [28s/24s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shapr)
     >
     > test_check("shapr")
     ══ 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. └─xgboost::xgboost test-a-shapley.R:44:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─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. └─xgboost::xgboost test-explanation.R:151:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:19:3): Test predict_model (regression) ─────────────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─xgboost::xgboost test-models.R:19:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─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. └─xgboost::xgboost test-models.R:86:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─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. └─xgboost::xgboost test-models.R:195:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:255:3): Test features (regression) ─────────────────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─xgboost::xgboost test-models.R:255:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:284:3): Test features (binary classification) ──────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─xgboost::xgboost test-models.R:284:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-models.R:319:3): Test missing colnames ──────────────────────────
     Error: there is no package called 'xgboost'
     Backtrace:
     █
     1. └─xgboost::xgboost test-models.R:319:2
     2. └─base::getExportedValue(pkg, name)
     3. └─base::asNamespace(ns)
     4. └─base::getNamespace(ns)
     5. └─base::loadNamespace(name)
     6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     7. └─base:::withOneRestart(expr, restarts[[1L]])
     8. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 8 | WARN 2 | SKIP 0 | PASS 383 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

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
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    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-patched-solaris-x86