Running ‘testthat.R’ [29s/55s]
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) (2020-02-26 r77861)
  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-6     mvtnorm_1.1-0      libcoin_1.0-5      earth_5.1.2       
   [5] plotmo_3.5.6       TeachingDemos_2.10 plotrix_3.7-7      Formula_1.2-3     
   [9] pre_0.7.2          testthat_2.3.1    
  
  loaded via a namespace (and not attached):
   [1] magrittr_1.5       splines_4.0.0      lattice_0.20-40    R6_2.4.1          
   [5] rlang_0.4.4        foreach_1.4.8      stringr_1.4.0      tools_4.0.0       
   [9] glmnet_3.0-2       iterators_1.0.12   MatrixModels_0.4-1 survival_3.1-8    
  [13] inum_1.0-1         Matrix_1.2-18      codetools_0.2-16   rpart_4.1-15      
  [17] shape_1.4.4        stringi_1.4.6      compiler_4.0.0    
  > 
  > test_check("pre")
  ── 1. Failure: Coef works for gpe (@test_gpe_misc.R#53)  ───────────────────────
  `coefs` not equal to read_to_test("gpe_airquality_w_pre_coef").
  Component "description": Modes: character, numeric
  Component "description": Attributes: < target is NULL, current is list >
  Component "description": target is character, current is factor
  
  ── 2. Failure: bsnullinteract and interact gives previous results with airqualit
  `nullmods` not equal to read_to_test("airquality_w_bsnullinteract").
  Component 1: Component 3: Component 1: Modes: character, numeric
  Component 1: Component 3: Component 1: Attributes: < target is NULL, current is list >
  Component 1: Component 3: Component 1: target is character, current is factor
  
  ── 3. Failure: Get previous results with airquality and pre function (@tests_pre
  `airq.ens` not equal to read_to_test("airquality_w_pre").
  Component "wins_points": Component "varname": Modes: character, numeric
  Component "wins_points": Component "varname": Attributes: < target is NULL, current is list >
  Component "wins_points": Component "varname": target is character, current is factor
  
  ── 4. Failure: Get previous results with airquality and pre function (@tests_pre
  `airq.ens` not equal to read_to_test("airquality_w_pre_without_LR").
  Component "wins_points": Component "varname": Modes: character, numeric
  Component "wins_points": Component "varname": Attributes: < target is NULL, current is list >
  Component "wins_points": Component "varname": target is character, current is factor
  
  ── 5. Failure: Get previous results with airquality and pre function (@tests_pre
  `airq.ens` not equal to read_to_test("airquality_w_pre_with_multivariate_response").
  Component "wins_points": Component "varname": Modes: character, numeric
  Component "wins_points": Component "varname": Attributes: < target is NULL, current is list >
  Component "wins_points": Component "varname": target is character, current is factor
  
  ── 6. Failure: Get previous results with PimaIndiansDiabetes and pre function (@
  `fit` not equal to read_to_test("PimaIndiansDiabetes_w_pre_LR").
  Component "wins_points": Component "varname": Modes: character, numeric
  Component "wins_points": Component "varname": Attributes: < target is NULL, current is list >
  Component "wins_points": Component "varname": target is character, current is factor
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 112 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 6 ]
  1. Failure: Coef works for gpe (@test_gpe_misc.R#53) 
  2. Failure: bsnullinteract and interact gives previous results with airquality data (@test_pre_misc.R#112) 
  3. Failure: Get previous results with airquality and pre function (@tests_pre.R#15) 
  4. Failure: Get previous results with airquality and pre function (@tests_pre.R#25) 
  5. Failure: Get previous results with airquality and pre function (@tests_pre.R#45) 
  6. Failure: Get previous results with PimaIndiansDiabetes and pre function (@tests_pre.R#75) 
  
  Error: testthat unit tests failed
  Execution halted