CRAN Package Check Results for Package parsnip

Last updated on 2019-04-24 16:53:11 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.2 9.02 103.32 112.34 OK
r-devel-linux-x86_64-debian-gcc 0.0.2 7.59 79.21 86.80 OK
r-devel-linux-x86_64-fedora-clang 0.0.2 140.13 OK
r-devel-linux-x86_64-fedora-gcc 0.0.2 135.54 OK
r-devel-windows-ix86+x86_64 0.0.2 21.00 84.00 105.00 OK
r-patched-linux-x86_64 0.0.2 8.46 102.80 111.26 OK
r-patched-solaris-x86 0.0.2 165.90 ERROR
r-release-linux-x86_64 0.0.2 8.13 96.86 104.99 OK
r-release-windows-ix86+x86_64 0.0.2 10.00 120.00 130.00 OK
r-release-osx-x86_64 0.0.2 OK
r-oldrel-windows-ix86+x86_64 0.0.2 10.00 91.00 101.00 OK
r-oldrel-osx-x86_64 0.0.1 ERROR

Check Details

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

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [63s/423s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(parsnip)
     >
     > test_check("parsnip")
     ── 1. Failure: glmnet prediction, single lambda (@test_linear_reg_glmnet.R#70)
     `uni_pred` not equal to predict(res_xy, iris[1:5, num_pred])$.pred.
     5/5 mismatches (average diff: 1.33e-05)
     [1] 5.05 - 5.05 == -1.44e-05
     [2] 4.87 - 4.87 == -1.19e-05
     [3] 4.91 - 4.91 == -7.50e-06
     [4] 4.94 - 4.94 == -1.78e-05
     [5] 5.09 - 5.09 == -1.49e-05
    
     ── 2. Failure: glmnet prediction, single lambda (@test_linear_reg_glmnet.R#82)
     `form_pred` not equal to predict(res_form, iris[1:5, ])$.pred.
     5/5 mismatches (average diff: 5.23e-06)
     [1] 5.24 - 5.24 == 4.80e-07
     [2] 5.09 - 5.09 == 1.02e-05
     [3] 5.16 - 5.16 == 6.11e-06
     [4] 5.13 - 5.13 == 8.11e-06
     [5] 5.27 - 5.27 == -1.29e-06
    
     ── 3. Failure: glmnet prediction, multiple lambda (@test_linear_reg_glmnet.R#128
     as.data.frame(mult_pred) not equal to `%>%`(...).
     Component ".pred": Mean relative difference: 1.478263e-06
    
     ── 4. Failure: glmnet prediction, multiple lambda (@test_linear_reg_glmnet.R#172
     as.data.frame(form_pred) not equal to `%>%`(...).
     Component ".pred": Mean relative difference: 1.489778e-06
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 619 SKIPPED: 39 WARNINGS: 1 FAILED: 4
     1. Failure: glmnet prediction, single lambda (@test_linear_reg_glmnet.R#70)
     2. Failure: glmnet prediction, single lambda (@test_linear_reg_glmnet.R#82)
     3. Failure: glmnet prediction, multiple lambda (@test_linear_reg_glmnet.R#128)
     4. Failure: glmnet prediction, multiple lambda (@test_linear_reg_glmnet.R#172)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [46s/45s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L), .Label = c("setosa", "versicolor", "virginica"
     ), class = "factor", contrasts = "contr.dummy"), TRUE)
     18: get(ctr, mode = "function", envir = parent.frame())
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 598 SKIPPED: 20 FAILED: 6
     1. Error: submodel prediction (@test_boost_tree_C50.R#113)
     2. Error: stan prediction (@test_linear_reg_stan.R#57)
     3. Error: stan intervals (@test_linear_reg_stan.R#105)
     4. Error: stan intervals (@test_logistic_reg_stan.R#151)
     5. Error: kknn prediction (@test_nearest_neighbor_kknn.R#95)
     6. Error: (unknown) (@test_predict_formats.R#9)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-osx-x86_64