CRAN Package Check Results for Package pre

Last updated on 2023-02-04 10:54:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5 16.57 352.43 369.00 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.5 13.63 251.24 264.87 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.5 430.66 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.5 460.46 ERROR
r-devel-windows-x86_64 1.0.5 40.00 372.00 412.00 ERROR
r-patched-linux-x86_64 1.0.5 22.75 327.56 350.31 OK
r-release-linux-x86_64 1.0.5 14.51 315.39 329.90 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 61.00 391.00 452.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 31.00 393.00 424.00 OK

Check Details

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [42s/59s]
    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-02-01 r83747)
     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.2
     [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-19
     [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/53s]
    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-02-01 r83747)
     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.2
     [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-19
     [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

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [48s/77s]
    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-27 r83711)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Fedora Linux 36 (Workstation Edition)
    
     Matrix products: default
     BLAS: /data/gannet/ripley/R/R-clang/lib/libRblas.so
     LAPACK: /data/gannet/ripley/R/R-clang/lib/libRlapack.so; LAPACK version 3.11.0
    
     locale:
     [1] LC_CTYPE=en_GB.utf8 LC_NUMERIC=C
     [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=C
     [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
     [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
     [9] LC_ADDRESS=C LC_TELEPHONE=C
     [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
    
     time zone: Europe/London
     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.2
     [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-fedora-clang

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [49s/155s]
    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-26 r83698)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Fedora Linux 36 (Workstation Edition)
    
     Matrix products: default
     BLAS: /data/gannet/ripley/R/R-devel/lib/libRblas.so
     LAPACK: /usr/lib64/liblapack.so.3.10.1
    
     locale:
     [1] LC_CTYPE=en_GB.utf8 LC_NUMERIC=C
     [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=C
     [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
     [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
     [9] LC_ADDRESS=C LC_TELEPHONE=C
     [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
    
     time zone: Europe/London
     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.2
     [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-fedora-gcc

Version: 1.0.5
Check: tests
Result: ERROR
     Running 'testthat.R' [48s]
    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-02-02 r83751 ucrt)
     Platform: x86_64-w64-mingw32/x64 (64-bit)
     Running under: Windows Server 2022 x64 (build 20348)
    
     Matrix products: default
    
    
     locale:
     [1] LC_COLLATE=C LC_CTYPE=German_Germany.utf8
     [3] LC_MONETARY=C LC_NUMERIC=C
     [5] LC_TIME=C
    
     time zone: Europe/Berlin
     tzcode source: internal
    
     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.2
     [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-windows-x86_64