* using log directory 'd:/Rcompile/CRANpkg/local/3.5/pre.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'pre/DESCRIPTION' ... OK * this is package 'pre' version '1.0.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'pre' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [21s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [4s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [69s] ERROR Running 'testthat.R' [68s] 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-7 mvtnorm_1.1-0 libcoin_1.0-5 earth_5.1.2 [5] plotmo_3.5.7 TeachingDemos_2.12 plotrix_3.7-8 Formula_1.2-3 [9] pre_1.0.0 testthat_2.3.2 loaded via a namespace (and not attached): [1] lattice_0.20-38 codetools_0.2-16 glmnet_2.0-18 foreach_1.5.0 [5] R6_2.4.1 MatrixModels_0.4-1 magrittr_1.5 stringi_1.4.6 [9] rlang_0.4.5 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-12 [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 * checking PDF version of manual ... OK * DONE Status: 1 ERROR