* using log directory 'd:/Rcompile/CRANpkg/local/4.6/modelr.Rcheck' * using R Under development (unstable) (2025-09-03 r88788 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'modelr/DESCRIPTION' ... OK * this is package 'modelr' version '0.1.11' * 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 'modelr' 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] 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 ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [4s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [3s] ERROR Running examples in 'modelr-Ex.R' failed The error most likely occurred in: > ### Name: permute > ### Title: Generate 'n' permutation replicates. > ### Aliases: permute permute_ > > ### ** Examples > > > library(purrr) > perms <- permute(mtcars, 100, mpg) > > models <- map(perms$perm, ~ lm(mpg ~ wt, data = .)) > glanced <- map_df(models, broom::glance, .id = "id") Error in `map()`: ℹ In index: 1. Caused by error in `ll()`: ! could not find function "ll" Backtrace: ▆ 1. ├─purrr::map_df(models, broom::glance, .id = "id") 2. │ └─purrr::map(.x, .f, ...) 3. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 4. │ ├─purrr:::with_indexed_errors(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ ├─purrr:::call_with_cleanup(...) 7. │ ├─generics (local) .f(.x[[i]], ...) 8. │ └─broom:::glance.lm(.x[[i]], ...) 9. │ ├─base::with(...) 10. │ └─base::with.default(...) 11. │ └─base::eval(substitute(expr), data, enclos = parent.frame()) 12. │ └─base::eval(substitute(expr), data, enclos = parent.frame()) 13. │ └─tibble::tibble(...) 14. │ └─tibble:::tibble_quos(xs, .rows, .name_repair) 15. │ └─rlang::eval_tidy(xs[[j]], mask) 16. ├─stats::AIC(x) 17. ├─stats:::AIC.default(x) 18. └─base::.handleSimpleError(...) 19. └─purrr (local) h(simpleError(msg, call)) 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] OK Running 'testthat.R' [3s] * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 1 ERROR