Running ‘testthat.R’ [34s/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: plotmo
  Loading required package: plotrix
  Loading required package: TeachingDemos
  > library(partykit)
  Loading required package: grid
  Loading required package: libcoin
  Loading required package: mvtnorm
  Loading required package: rpart
  > print(sessionInfo())
  R Under development (unstable) (2018-04-09 r74556)
  Platform: x86_64-pc-linux-gnu (64-bit)
  Running under: Fedora 26 (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-0     rpart_4.1-13       mvtnorm_1.0-7      libcoin_1.0-1     
   [5] earth_4.6.2        plotmo_3.3.6       TeachingDemos_2.10 plotrix_3.7       
   [9] pre_0.4-1          testthat_2.0.0    
  
  loaded via a namespace (and not attached):
   [1] lattice_0.20-35    codetools_0.2-15   glmnet_2.0-16      foreach_1.4.4     
   [5] R6_2.2.2           MatrixModels_0.4-1 magrittr_1.5       stringi_1.1.7     
   [9] rlang_0.2.0        Matrix_1.2-13      splines_3.6.0      Formula_1.2-2     
  [13] tools_3.6.0        iterators_1.0.9    stringr_1.3.0      survival_2.41-3   
  [17] compiler_3.6.0     inum_1.0-0        
  > 
  > test_check("pre")
  ── 1. Failure: Print works for gpe (@test_gpe_misc.R#17)  ──────────────────────
  capture.output(print(airq.ens)) not equal to read_to_test("gpe_airquality_print_output_linear").
  1/12 mismatches
  x[7]: "  cv error type : Mean-squared Error"
  y[7]: "  cv error type : Mean-Squared Error"
  
  ── 2. Failure: Print works for gpe (@test_gpe_misc.R#27)  ──────────────────────
  capture.output(print(airq.ens)) not equal to read_to_test("gpe_airquality_print_output").
  1/18 mismatches
  x[7]: "  cv error type : Mean-squared Error"
  y[7]: "  cv error type : Mean-Squared Error"
  
  ── 3. Failure: Print works for gpe (@test_gpe_misc.R#40)  ──────────────────────
  capture.output(print(airq.ens)) not equal to read_to_test("gpe_airquality_print_output_earth").
  1/15 mismatches
  x[7]: "  cv error type : Mean-squared Error"
  y[7]: "  cv error type : Mean-Squared Error"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 82 SKIPPED: 1 FAILED: 3
  1. Failure: Print works for gpe (@test_gpe_misc.R#17) 
  2. Failure: Print works for gpe (@test_gpe_misc.R#27) 
  3. Failure: Print works for gpe (@test_gpe_misc.R#40) 
  
  Error: testthat unit tests failed
  Execution halted