- using R version 4.0.5 Patched (2021-03-31 r80143)
- using platform: i386-pc-solaris2.10 (32-bit)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘stacks/DESCRIPTION’ ... OK
- this is package ‘stacks’ version ‘0.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘stacks’ can be installed ... OK
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘yardstick’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [14s/19s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [55s/68s] ERROR
Running ‘testthat.R’ [54s/67s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [432s/398s] WARNING
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
- checking PDF version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 1 NOTE