CRAN Package Check Results for Package stacks

Last updated on 2021-02-28 19:48:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 12.01 362.49 374.50 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 627.94 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 574.50 NOTE
r-devel-windows-ix86+x86_64 0.1.0 20.00 445.00 465.00 OK
r-patched-linux-x86_64 0.1.0 13.87 463.14 477.01 OK
r-patched-solaris-x86 0.1.0 661.20 ERROR
r-release-linux-x86_64 0.1.0 15.11 451.72 466.83 OK
r-release-macos-x86_64 0.1.0 NOTE
r-release-windows-ix86+x86_64 0.1.0 33.00 566.00 599.00 OK
r-oldrel-macos-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 21.00 575.00 596.00 OK

Check Details

Version: 0.1.0
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘yardstick’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [52s/64s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(stacks)
     >
     > test_check("stacks")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● On CRAN (32)
     ● still some inconsistencies with stored objects (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_cran.R:45:3): basic stacks pipeline works ───────────────────────
     Error: need at least two non-NA values to interpolate
     Backtrace:
     █
     1. ├─`%>%`(...) test_cran.R:45:2
     2. ├─stacks::fit_members(.)
     3. │ └─stacks:::check_model_stack(model_stack)
     4. ├─stacks::blend_predictions(.)
     5. │ ├─base::structure(...)
     6. │ └─stacks:::glmnet_metrics(candidates)
     7. │ ├─`%>%`(...)
     8. │ └─purrr::map_dfr(x$glmnet_fits, num_members, pens)
     9. │ └─purrr::map(.x, .f, ...)
     10. │ └─stacks:::.f(.x[[i]], ...)
     11. │ ├─stats::coef(x, s = penalties)
     12. │ └─glmnet::coef.glmnet(x, s = penalties)
     13. │ ├─stats::predict(...)
     14. │ ├─glmnet:::predict.elnet(...)
     15. │ ├─base::NextMethod("predict")
     16. │ └─glmnet::predict.glmnet(...)
     17. │ └─glmnet:::lambda.interp(lambda, s)
     18. │ └─stats::approx(lambda, seq(lambda), sfrac)
     19. ├─dplyr::full_join(...)
     20. ├─dplyr::ungroup(.)
     21. ├─dplyr::summarize(...)
     22. └─dplyr::group_by(., penalty)
    
     [ FAIL 1 | WARN 0 | SKIP 35 | PASS 5 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘basics.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 304-307 (basics.Rmd)
    Error: processing vignette 'basics.Rmd' failed with diagnostics:
    need at least two non-NA values to interpolate
    --- failed re-building ‘basics.Rmd’
    
    --- re-building ‘classification.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.
    i Creating pre-processing data to finalize unknown parameter: mtry
    x Bootstrap02: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap03: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap04: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap05: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap06: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap07: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap08: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap09: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap10: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap11: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap12: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap13: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap14: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap15: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap16: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap17: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap18: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap19: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap20: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap21: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap22: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap23: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap24: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    x Bootstrap25: preprocessor 1/1, model 1/1 (predictions): Error in approx(lambda, seq(l...
    Quitting from lines 156-168 (classification.Rmd)
    Error: processing vignette 'classification.Rmd' failed with diagnostics:
    need at least two non-NA values to interpolate
    --- failed re-building ‘classification.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘basics.Rmd’ ‘classification.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86