CRAN Package Check Results for Package pre

Last updated on 2019-11-25 05:47:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 11.63 119.82 131.45 ERROR
r-devel-linux-x86_64-debian-gcc 0.7.1 9.44 91.81 101.25 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.1 144.74 ERROR
r-devel-linux-x86_64-fedora-gcc 0.7.1 89.06 ERROR
r-devel-windows-ix86+x86_64 0.7.1 28.00 167.00 195.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.7.1 21.00 133.00 154.00 ERROR
r-patched-linux-x86_64 0.7.1 10.08 106.88 116.96 ERROR
r-patched-solaris-x86 0.7.1 204.90 ERROR
r-release-linux-x86_64 0.7.1 11.58 117.45 129.03 ERROR
r-release-windows-ix86+x86_64 0.7.1 26.00 172.00 198.00 ERROR
r-release-osx-x86_64 0.7.1 OK
r-oldrel-windows-ix86+x86_64 0.7.1 10.00 129.00 139.00 OK
r-oldrel-osx-x86_64 0.7.1 OK

Check Details

Version: 0.7.1
Check: R code for possible problems
Result: NOTE
    predict.pre: no visible global function definition for
     'predict.cv.glmnet'
    Undefined global functions or variables:
     predict.cv.glmnet
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64

Version: 0.7.1
Check: tests
Result: ERROR
     Running 'testthat.R' [39s/46s]
    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) (2019-11-23 r77455)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Debian GNU/Linux bullseye/sid
    
     Matrix products: default
     BLAS: /home/hornik/tmp/R.check/r-devel-clang/Work/build/lib/libRblas.so
     LAPACK: /home/hornik/tmp/R.check/r-devel-clang/Work/build/lib/libRlapack.so
    
     locale:
     [1] LC_CTYPE=en_US.iso885915 LC_NUMERIC=C
     [3] LC_TIME=en_US.iso885915 LC_COLLATE=C
     [5] LC_MONETARY=en_US.iso885915 LC_MESSAGES=en_US.iso885915
     [7] LC_PAPER=en_US.iso885915 LC_NAME=C
     [9] LC_ADDRESS=C LC_TELEPHONE=C
     [11] LC_MEASUREMENT=en_US.iso885915 LC_IDENTIFICATION=C
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_4.0.0 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.2 foreach_1.4.7 stringr_1.4.0 tools_4.0.0
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_4.0.0
     >
     > test_check("pre")
     -- 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     -- 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     -- 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     -- 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     -- 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     -- 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     -- 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) -
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     == testthat results ===========================================================
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [28s/43s]
    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) (2019-11-23 r77455)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Debian GNU/Linux bullseye/sid
    
     Matrix products: default
     BLAS: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib/libRblas.so
     LAPACK: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib/libRlapack.so
    
     locale:
     [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
     [3] LC_TIME=en_US.UTF-8 LC_COLLATE=C
     [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
     [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
     [9] LC_ADDRESS=C LC_TELEPHONE=C
     [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_4.0.0 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.2 foreach_1.4.7 stringr_1.4.0 tools_4.0.0
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_4.0.0
     >
     > test_check("pre")
     ── 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     ── 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     ── 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     ── 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     ── 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     ── 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     ── 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) ─
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [39s/49s]
    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) (2019-11-23 r77455)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Fedora 30 (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
    
     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
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_4.0.0 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.2 foreach_1.4.7 stringr_1.4.0 tools_4.0.0
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_4.0.0
     >
     > test_check("pre")
     ── 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     ── 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     ── 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     ── 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     ── 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     ── 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     ── 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) ─
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [22s/25s]
    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) (2019-11-19 r77437)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Fedora 30 (Workstation Edition)
    
     Matrix products: default
     BLAS: /data/gannet/ripley/R/R-devel/lib/libRblas.so
     LAPACK: /data/gannet/ripley/R/R-devel/lib/libRlapack.so
    
     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
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_4.0.0 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.1 foreach_1.4.7 stringr_1.4.0 tools_4.0.0
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_4.0.0
     >
     > test_check("pre")
     ── 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     ── 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     ── 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     ── 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     ── 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     ── 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     ── 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) ─
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.7.1
Check: tests
Result: ERROR
     Running 'testthat.R' [39s]
    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) (2019-11-17 r77430)
     Platform: x86_64-w64-mingw32/x64 (64-bit)
     Running under: Windows Server 2008 x64 (build 6003) Service Pack 2
    
     Matrix products: default
    
     locale:
     [1] LC_COLLATE=C LC_CTYPE=German_Germany.1252
     [3] LC_MONETARY=C LC_NUMERIC=C
     [5] LC_TIME=C
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_4.0.0 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.1 foreach_1.4.7 stringr_1.4.0 tools_4.0.0
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_4.0.0
     >
     > test_check("pre")
     -- 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     -- 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     -- 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     -- 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     -- 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     -- 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     -- 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) -
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     == testthat results ===========================================================
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.7.1
Check: tests
Result: ERROR
     Running 'testthat.R' [39s]
    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) (2019-11-14 r77415)
     Platform: x86_64-w64-mingw32/x64 (64-bit)
     Running under: Windows Server 2008 x64 (build 6003) Service Pack 2
    
     Matrix products: default
    
     locale:
     [1] LC_COLLATE=C LC_CTYPE=German_Germany.1252
     [3] LC_MONETARY=C LC_NUMERIC=C
     [5] LC_TIME=C
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_4.0.0 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.1 foreach_1.4.7 stringr_1.4.0 tools_4.0.0
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_4.0.0
     >
     > test_check("pre")
     -- 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     -- 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     -- 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     -- 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     -- 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     -- 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     -- 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) -
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     == testthat results ===========================================================
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [35s/41s]
    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 version 3.6.1 Patched (2019-11-20 r77446)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Debian GNU/Linux bullseye/sid
    
     Matrix products: default
     BLAS: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib/libRblas.so
     LAPACK: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib/libRlapack.so
    
     locale:
     [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
     [3] LC_TIME=en_US.UTF-8 LC_COLLATE=C
     [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
     [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
     [9] LC_ADDRESS=C LC_TELEPHONE=C
     [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_3.6.1 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.1 foreach_1.4.7 stringr_1.4.0 tools_3.6.1
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_3.6.1
     >
     > test_check("pre")
     ── 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     ── 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     ── 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     ── 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     ── 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     ── 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     ── 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) ─
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [50s/51s]
    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 version 3.6.1 Patched (2019-11-18 r77437)
     Platform: i386-pc-solaris2.10 (32-bit)
     Running under: Solaris 10
    
     Matrix products: default
     BLAS: /home/ripley/R/cc/lib/libRblas.so
     LAPACK: /home/ripley/R/cc/lib/libRlapack.so
    
     locale:
     [1] /en_GB.UTF-8/C/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_3.6.1 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.1 foreach_1.4.7 stringr_1.4.0 tools_3.6.1
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_3.6.1
     >
     > test_check("pre")
     ── 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     ── 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     ── 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     ── 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     ── 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     ── 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     ── 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) ─
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 101 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [37s/46s]
    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 version 3.6.1 (2019-07-05)
     Platform: x86_64-pc-linux-gnu (64-bit)
     Running under: Debian GNU/Linux bullseye/sid
    
     Matrix products: default
     BLAS: /home/hornik/tmp/R.check/r-release-gcc/Work/build/lib/libRblas.so
     LAPACK: /home/hornik/tmp/R.check/r-release-gcc/Work/build/lib/libRlapack.so
    
     locale:
     [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
     [3] LC_TIME=en_US.UTF-8 LC_COLLATE=C
     [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
     [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
     [9] LC_ADDRESS=C LC_TELEPHONE=C
     [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_3.6.1 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.1 foreach_1.4.7 stringr_1.4.0 tools_3.6.1
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_3.6.1
     >
     > test_check("pre")
     ── 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     ── 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     ── 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     ── 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     ── 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     ── 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     ── 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) ─
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.7.1
Check: tests
Result: ERROR
     Running 'testthat.R' [50s]
    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 version 3.6.1 (2019-07-05)
     Platform: x86_64-w64-mingw32/x64 (64-bit)
     Running under: Windows Server 2008 x64 (build 6003) Service Pack 2
    
     Matrix products: default
    
     locale:
     [1] LC_COLLATE=C LC_CTYPE=German_Germany.1252
     [3] LC_MONETARY=C LC_NUMERIC=C
     [5] LC_TIME=C
    
     attached base packages:
     [1] grid stats graphics grDevices utils datasets methods
     [8] base
    
     other attached packages:
     [1] partykit_1.2-5 mvtnorm_1.0-11 libcoin_1.0-5 earth_5.1.2
     [5] plotmo_3.5.6 TeachingDemos_2.10 plotrix_3.7-6 Formula_1.2-3
     [9] pre_0.7.1 testthat_2.3.0
    
     loaded via a namespace (and not attached):
     [1] magrittr_1.5 splines_3.6.1 lattice_0.20-38 R6_2.4.1
     [5] rlang_0.4.1 foreach_1.4.7 stringr_1.4.0 tools_3.6.1
     [9] glmnet_3.0-1 iterators_1.0.12 MatrixModels_0.4-1 survival_3.1-7
     [13] inum_1.0-1 Matrix_1.2-17 codetools_0.2-16 rpart_4.1-15
     [17] shape_1.4.4 stringi_1.4.3 compiler_3.6.1
     >
     > test_check("pre")
     -- 1. Error: Importance gives previous results with airquality data (@test_pre_m
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::importance(airq.ens, global = FALSE, plot = FALSE)
     2. pre:::predict.pre(...)
    
     -- 2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::cvpre(airq.ens, k = 2, print = FALSE, parallel = FALSE)
     3. pre:::predict.pre(...)
    
     -- 3. Error: bsnullinteract and interact gives previous results with airquality
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. pre::bsnullinteract(airq.ens, nsamp = 1)
     2. pre:::predict.pre(bs.ens.null, newdata = object$data, type = "link")
    
     -- 4. Error: Predict gives previous results with airquality data (@test_pre_misc
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. stats::predict(airq.ens, airquality)
     2. pre:::predict.pre(airq.ens, airquality)
    
     -- 5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     `fit` not equal to read_to_test("lung_w_pre_surv").
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (370, 371) differ >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Mean relative difference: 0.003015454 >
     Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (370, 371) differ >
    
     -- 6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FA
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(predict(airq.ens), predict(airq.ens.sparse))
     5. pre:::predict.pre(airq.ens)
    
     -- 7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194) -
     could not find function "predict.cv.glmnet"
     Backtrace:
     1. testthat::expect_equal(...)
     5. pre:::predict.pre(...)
    
     == testthat results ===========================================================
     [ OK: 104 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: Importance gives previous results with airquality data (@test_pre_misc.R#63)
     2. Error: cvpre gives previous results with airquality data (@test_pre_misc.R#100)
     3. Error: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#122)
     4. Error: Predict gives previous results with airquality data (@test_pre_misc.R#159)
     5. Failure: Get previous results with lung survival data (@tests_pre.R#157)
     6. Error: pre gives almost the same rules with `sparse` set to `TRUE` and `FALSE` (@tests_pre.R#180)
     7. Error: predict.pre works with `sparse` set to `TRUE` (@tests_pre.R#194)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64