- 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 'imputeREE/DESCRIPTION' ... OK
- this is package 'imputeREE' version '0.0.5'
- 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 'imputeREE' can be installed ... OK
See the install log for details.
- 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 ... [0s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] 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 ... [3s] 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 'imputeREE-Ex.R' failed
The error most likely occurred in:
> ### Name: calc_all
> ### Title: Calculate and Impute REE missing data and anomalies.
> ### Aliases: calc_all
>
> ### ** Examples
>
>
> Ballard_et_al_Zircon %>% calc_all(prefix = 'Zr_', suffix = '_ppm')
Warning in model_REE(., prefix = prefix, suffix = suffix, chondrite = { :
There are 0 Samples with less than 3 or less elements to model, consider filtering that data, or including more elements
Error in `dplyr::mutate()`:
ℹ In argument: `glanced = purrr::map(models, broom::glance)`.
ℹ In group 1: `rowid = 1`.
Caused by error in `purrr::map()`:
ℹ In index: 1.
Caused by error in `ll()`:
! could not find function "ll"
Backtrace:
▆
1. ├─Ballard_et_al_Zircon %>% calc_all(prefix = "Zr_", suffix = "_ppm")
2. ├─imputeREE::calc_all(., prefix = "Zr_", suffix = "_ppm")
3. │ └─... %>% impute_REE(prefix = prefix, suffix = suffix)
4. ├─imputeREE::impute_REE(., prefix = prefix, suffix = suffix)
5. ├─imputeREE::model_REE(...)
6. │ └─... %>% ...
7. ├─dplyr::rename_with(...)
8. ├─dplyr::ungroup(.)
9. ├─dplyr::mutate(...)
10. ├─imputeREE:::add_NormValues(...)
11. │ └─base::is.data.frame(dat)
12. ├─tidyr::unnest(., data)
13. ├─tidyr::unnest(., glanced, names_sep = "model_")
14. ├─tidyr::pivot_wider(...)
15. ├─dplyr::mutate(...)
16. ├─tidyr::unnest(., tidied)
17. ├─dplyr::mutate(...)
18. ├─dplyr:::mutate.data.frame(...)
19. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
20. │ ├─base::withCallingHandlers(...)
21. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
22. │ └─mask$eval_all_mutate(quo)
23. │ └─dplyr (local) eval()
24. ├─purrr::map(models, broom::glance)
25. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
26. │ ├─purrr:::with_indexed_errors(...)
27. │ │ └─base::withCallingHandlers(...)
28. │ ├─purrr:::call_with_cleanup(...)
29. │ ├─generics (local) .f(.x[[i]], ...)
30. │ └─broom:::glance.lm(.x[[i]], ...)
31. │ ├─base::with(...)
32. │ └─base::with.default(...)
33. │ └─base::eval(substitute(expr), data, enclos = parent.frame())
34. │ └─base::eval(substitute(expr), data, enclos = parent.frame())
35. │ └─tibble::tibble(...)
36. │ └─tibble:::tibble_quos(xs, .rows, .name_repair)
37. │ └─rlang::eval_tidy(xs[[j]], mask)
38. ├─stats::AIC(x)
39. ├─stats:::AIC.default(x)
40. └─base::.handleSimpleError(...)
41. └─purrr (local) h(simpleError(msg, call))
42. └─cli::cli_abort(...)
43. └─rlang::abort(...)
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR