Running 'testthat.R' [67s]
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.5.3 (2019-03-11)
  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.2          testthat_2.3.1    
  
  loaded via a namespace (and not attached):
   [1] lattice_0.20-38    codetools_0.2-16   glmnet_2.0-18      foreach_1.4.7     
   [5] R6_2.4.1           MatrixModels_0.4-1 magrittr_1.5       stringi_1.4.3     
   [9] rlang_0.4.2        rpart_4.1-15       Matrix_1.2-18      splines_3.5.3     
  [13] tools_3.5.3        iterators_1.0.12   stringr_1.4.0      survival_3.1-7    
  [17] compiler_3.5.3     inum_1.0-1        
  > 
  > test_check("pre")
  -- 1. Failure: cvpre gives previous results with airquality data (@test_pre_misc
  `airq.cv.par` not equal to read_to_test("airquality_w_pre_cv_par").
  Component "accuracy": Component "MSE": Mean relative difference: 0.01912031
  Component "accuracy": Component "MAE": Mean relative difference: 0.0133677
  Component "cvpreds": Mean relative difference: 0.01639578
  
  == testthat results  ===========================================================
  [ OK: 118 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Failure: cvpre gives previous results with airquality data (@test_pre_misc.R#96) 
  
  Error: testthat unit tests failed
  Execution halted