Running 'testthat.R' [41s/54s]
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) (2021-06-24 r80555)
  Platform: x86_64-pc-linux-gnu (64-bit)
  Running under: Debian GNU/Linux 11 (bullseye)
  
  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-13    mvtnorm_1.1-2      libcoin_1.0-8      earth_5.3.0       
   [5] plotmo_3.6.0       TeachingDemos_2.12 plotrix_3.8-1      Formula_1.2-4     
   [9] pre_1.0.0          testthat_3.0.3    
  
  loaded via a namespace (and not attached):
   [1] lattice_0.20-44    codetools_0.2-18   glmnet_4.1-2       foreach_1.5.1     
   [5] R6_2.5.0           MatrixModels_0.5-0 magrittr_2.0.1     stringi_1.6.2     
   [9] rlang_0.4.11       rpart_4.1-15       Matrix_1.3-4       splines_4.2.0     
  [13] tools_4.2.0        iterators_1.0.13   stringr_1.4.0      survival_3.2-11   
  [17] compiler_4.2.0     shape_1.4.6        inum_1.0-4        
  > 
  > test_check("pre")
  == Skipped tests ===============================================================
  * empty test (1)
  
  == Failed tests ================================================================
  -- Failure (test_gpe_misc.R:70:3): Predict works for gpe and gives previous results --
  `preds` not equal to read_to_test("gpe_predict_regression").
  Attributes: < Component "dimnames": Component 2: 1 string mismatch >
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 117 ]
  Error: Test failures
  In addition: Warning message:
  In data(lung, package = "survival", envir = environment()) :
    data set 'lung' not found
  Execution halted