CRAN Package Check Results for Package pre

Last updated on 2023-01-25 04:51:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5 16.90 348.00 364.90 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.5 11.94 251.85 263.79 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.5 428.86 OK
r-devel-linux-x86_64-fedora-gcc 1.0.5 433.17 OK
r-patched-linux-x86_64 1.0.5 22.45 322.55 345.00 OK
r-release-linux-x86_64 1.0.5 17.88 318.11 335.99 OK
r-release-macos-arm64 1.0.5 106.00 OK
r-release-macos-x86_64 1.0.5 140.00 OK
r-release-windows-x86_64 1.0.5 79.00 371.00 450.00 OK
r-oldrel-macos-arm64 1.0.5 106.00 OK
r-oldrel-macos-x86_64 1.0.5 140.00 OK
r-oldrel-windows-ix86+x86_64 1.0.5 30.00 390.00 420.00 OK

Check Details

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [41s/56s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(pre)
     >
     > #####
     > # partykit and earth is loaded as failures of tests may be caused by the version
     > # of either package. Thus, we print the sessionInfo
     >
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
     Loading required package: TeachingDemos
     > library(partykit)
     Loading required package: grid
     Loading required package: libcoin
     Loading required package: mvtnorm
     > print(sessionInfo())
     R Under development (unstable) (2023-01-21 r83656)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Debian GNU/Linux bookworm/sid
    
     Matrix products: default
     BLAS: /home/hornik/tmp/R.check/r-devel-clang/Work/build/lib/libRblas.so
     LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.11.0
    
     locale:
     [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
     [4] LC_COLLATE=C LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
     [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
     [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
    
     time zone: Europe/Vienna
     tzcode source: system (glibc)
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-16 mvtnorm_1.1-3 libcoin_1.0-9 earth_5.3.1
     [5] plotmo_3.6.2 TeachingDemos_2.12 plotrix_3.8-2 Formula_1.2-4
     [9] pre_1.0.5 testthat_3.1.6
    
     loaded via a namespace (and not attached):
     [1] cli_3.6.0 rlang_1.0.6 stringi_1.7.12 MatrixModels_0.5-1
     [5] glue_1.6.2 glmnet_4.1-6 brio_1.1.3 lifecycle_1.0.3
     [9] foreach_1.5.2 stringr_1.5.0 compiler_4.3.0 codetools_0.2-18
     [13] Rcpp_1.0.10 lattice_0.20-45 R6_2.5.1 splines_4.3.0
     [17] inum_1.0-4 shape_1.4.6 magrittr_2.0.3 rpart_4.1.19
     [21] Matrix_1.5-3 tools_4.3.0 iterators_1.0.14 survival_3.5-0
     >
     > test_check("pre")
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 121 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_gpe.R:167'): gpe_trees gives previous results for binary outcomes ──
     Error in `predictor + offset`: non-numeric argument to binary operator
     Backtrace:
     ▆
     1. ├─base::do.call(func, args) at test_gpe.R:167:2
     2. └─pre (local) `<fn>`(...)
     3. ├─stats::predict(tree, newdata = data, type = "link")
     4. └─partykit:::predict.glmtree(tree, newdata = data, type = "link")
     5. └─partykit::predict.modelparty(...)
     6. └─base::lapply(...)
     7. └─partykit (local) FUN(X[[i]], ...)
     8. └─partykit (local) pred(mod[[i]], newdata = newdata[ix[[i]], , drop = FALSE], ...)
     9. ├─stats::predict(object, newdata = newdata, type = type, ...)
     10. └─stats::predict.glm(object, newdata = newdata, type = type, ...)
     11. └─stats::predict.lm(...)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [29s/54s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(pre)
     >
     > #####
     > # partykit and earth is loaded as failures of tests may be caused by the version
     > # of either package. Thus, we print the sessionInfo
     >
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
     Loading required package: TeachingDemos
     > library(partykit)
     Loading required package: grid
     Loading required package: libcoin
     Loading required package: mvtnorm
     > print(sessionInfo())
     R Under development (unstable) (2023-01-23 r83671)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Debian GNU/Linux bookworm/sid
    
     Matrix products: default
     BLAS: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib/libRblas.so
     LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.11.0
    
     locale:
     [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
     [4] LC_COLLATE=C LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
     [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
     [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
    
     time zone: Europe/Vienna
     tzcode source: system (glibc)
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-16 mvtnorm_1.1-3 libcoin_1.0-9 earth_5.3.1
     [5] plotmo_3.6.2 TeachingDemos_2.12 plotrix_3.8-2 Formula_1.2-4
     [9] pre_1.0.5 testthat_3.1.6
    
     loaded via a namespace (and not attached):
     [1] cli_3.6.0 rlang_1.0.6 stringi_1.7.12 MatrixModels_0.5-1
     [5] glue_1.6.2 glmnet_4.1-6 brio_1.1.3 lifecycle_1.0.3
     [9] foreach_1.5.2 stringr_1.5.0 compiler_4.3.0 codetools_0.2-18
     [13] Rcpp_1.0.10 lattice_0.20-45 R6_2.5.1 splines_4.3.0
     [17] inum_1.0-4 shape_1.4.6 magrittr_2.0.3 rpart_4.1.19
     [21] Matrix_1.5-3 tools_4.3.0 iterators_1.0.14 survival_3.5-0
     >
     > test_check("pre")
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 121 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_gpe.R:167'): gpe_trees gives previous results for binary outcomes ──
     Error in `predictor + offset`: non-numeric argument to binary operator
     Backtrace:
     ▆
     1. ├─base::do.call(func, args) at test_gpe.R:167:2
     2. └─pre (local) `<fn>`(...)
     3. ├─stats::predict(tree, newdata = data, type = "link")
     4. └─partykit:::predict.glmtree(tree, newdata = data, type = "link")
     5. └─partykit::predict.modelparty(...)
     6. └─base::lapply(...)
     7. └─partykit (local) FUN(X[[i]], ...)
     8. └─partykit (local) pred(mod[[i]], newdata = newdata[ix[[i]], , drop = FALSE], ...)
     9. ├─stats::predict(object, newdata = newdata, type = type, ...)
     10. └─stats::predict.glm(object, newdata = newdata, type = type, ...)
     11. └─stats::predict.lm(...)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc