* using log directory 'd:/Rcompile/CRANpkg/local/4.3/broom.mixed.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'broom.mixed/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'broom.mixed' version '0.2.9.5' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'glmmADMB' * 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 'broom.mixed' can be installed ... OK * checking installed package size ... NOTE installed size is 5.4Mb sub-directories of 1Mb or more: extdata 5.0Mb * 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 * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking startup messages can be suppressed ... [2s] 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 ... [12s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [32s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [57s] ERROR Running 'test-all.R' [57s] Running the tests in 'tests/test-all.R' failed. Complete output: > Sys.setenv("R_TESTS" = "") > library(testthat) > test_check("broom.mixed") Loading required package: broom.mixed GAMLSS-RS iteration 1: Global Deviance = 4771.925 GAMLSS-CG iteration 1: Global Deviance = 4771.013 GAMLSS-CG iteration 2: Global Deviance = 4770.994 GAMLSS-CG iteration 3: Global Deviance = 4770.994 [ FAIL 1 | WARN 4 | SKIP 1 | PASS 237 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-rstanarm.R:35:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-alltibbles.R:57:21'): (code run outside of `test_that()`) ────── Error in `.requirePackage(package)`: unable to find required package 'rstan' Backtrace: ▆ 1. └─broom.mixed (local) testf("glance", z) at test-alltibbles.R:62:13 2. ├─testthat::expect_is(get(fn_str)(obj), "tbl_df") at test-alltibbles.R:57:21 3. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 4. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 5. ├─get(fn_str)(obj) 6. └─broom.mixed:::glance.brmsfit(obj) 7. └─broom.mixed:::glance_stan(...) 8. ├─stats::sigma(x) 9. └─broom.mixed:::sigma.brmsfit(x) 10. ├─"sigma" %in% brms::variables(object) 11. ├─brms::variables(object) 12. └─brms:::variables.brmsfit(object) 13. └─methods (local) dimnames(x$fit) 14. └─methods (local) ``(``, ``, ``) 15. └─methods:::.findInheritedMethods(classes, fdef, mtable) 16. └─methods::getClass(cl1, where = where, .Force = TRUE) 17. └─methods::getClassDef(Class, where) 18. └─methods:::.requirePackage(package) [ FAIL 1 | WARN 4 | SKIP 1 | PASS 237 ] 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 ... [14s] ERROR Error(s) in re-building vignettes: --- re-building 'broom_mixed_intro.rmd' using rmarkdown Quitting from lines 65-79 [dwplot1] (broom_mixed_intro.rmd) Error: processing vignette 'broom_mixed_intro.rmd' failed with diagnostics: unable to find required package 'rstan' --- failed re-building 'broom_mixed_intro.rmd' SUMMARY: processing the following file failed: 'broom_mixed_intro.rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 2 ERRORs, 2 NOTEs