* using log directory 'd:/Rcompile/CRANpkg/local/4.0/projpred.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'projpred/DESCRIPTION' ... OK * this is package 'projpred' version '2.1.1' * 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 'projpred' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 * loading checks for arch 'i386' ** 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 * loading checks for arch 'x64' ** 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 ... [24s] 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 line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... [20s] OK ** running examples for arch 'x64' ... [20s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [59s] ERROR Running 'testthat.R' [59s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(projpred) This is projpred version 2.1.1. > > test_check("projpred") [ FAIL 1 | WARN 0 | SKIP 91 | PASS 1238 ] == Skipped tests =============================================================== * On CRAN (2) * run_cvvs is not TRUE (18) * run_prj is not TRUE (35) * run_prll is not TRUE (3) * run_vs is not TRUE (33) == Failed tests ================================================================ -- Failure (test_refmodel.R:20:5): `object` of class "stanreg" or "brmsfit" works -- refmod$mu not equal to t(mu_expected). 20500/20500 mismatches (average diff: 0.644) [1] -0.1600 - -0.478 == 0.3178 [2] 0.0777 - -0.836 == 0.9141 [3] -0.0447 - -0.609 == 0.5645 [4] -1.4577 - -0.524 == -0.9339 [5] -0.4583 - 0.316 == -0.7748 [6] -0.5608 - -0.643 == 0.0820 [7] -0.3378 - -0.227 == -0.1108 [8] -0.6819 - -0.716 == 0.0339 [9] 0.1141 - -0.611 == 0.7249 ... rstanarm.glmm.gauss.spclformul.with_wobs.with_offs Backtrace: x 1. \-projpred:::refmodel_tester(...) at test_refmodel.R:20:4 2. \-testthat::expect_equal(refmod$mu, t(mu_expected), info = info_str) [ FAIL 1 | WARN 0 | SKIP 91 | PASS 1238 ] Error: Test failures Execution halted ** running tests for arch 'x64' ... [60s] ERROR Running 'testthat.R' [59s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(projpred) This is projpred version 2.1.1. > > test_check("projpred") [ FAIL 1 | WARN 0 | SKIP 91 | PASS 1238 ] == Skipped tests =============================================================== * On CRAN (2) * run_cvvs is not TRUE (18) * run_prj is not TRUE (35) * run_prll is not TRUE (3) * run_vs is not TRUE (33) == Failed tests ================================================================ -- Failure (test_refmodel.R:20:5): `object` of class "stanreg" or "brmsfit" works -- refmod$mu not equal to t(mu_expected). 20500/20500 mismatches (average diff: 0.644) [1] -0.1600 - -0.478 == 0.3178 [2] 0.0777 - -0.836 == 0.9141 [3] -0.0447 - -0.609 == 0.5645 [4] -1.4577 - -0.524 == -0.9339 [5] -0.4583 - 0.316 == -0.7748 [6] -0.5608 - -0.643 == 0.0820 [7] -0.3378 - -0.227 == -0.1108 [8] -0.6819 - -0.716 == 0.0339 [9] 0.1141 - -0.611 == 0.7249 ... rstanarm.glmm.gauss.spclformul.with_wobs.with_offs Backtrace: x 1. \-projpred:::refmodel_tester(...) at test_refmodel.R:20:4 2. \-testthat::expect_equal(refmod$mu, t(mu_expected), info = info_str) [ FAIL 1 | WARN 0 | SKIP 91 | PASS 1238 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs