- using R Under development (unstable) (2025-04-01 r88092)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘simTool/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘simTool’ version ‘1.1.7’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘simTool’ can be installed ... [8s/21s] OK
See the install log for details.
- 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 code 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 ... [10s/27s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... ERROR
Running examples in ‘simTool-Ex.R’ failed
The error most likely occurred in:
> ### Name: eval_tibbles
> ### Title: Workhorse for simulation studies
> ### Aliases: eval_tibbles
>
> ### ** Examples
>
> rng <- function(data, ...) {
+ ret <- range(data)
+ names(ret) <- c("min", "max")
+ ret
+ }
>
> ### The following line is only necessary
> ### if the examples are not executed in the global
> ### environment, which for instance is the case when
> ### the oneline-documentation
> ### http://marselscheer.github.io/simTool/reference/eval_tibbles.html
> ### is build. In such case eval_tibble() would search the
> ### above defined function rng() in the global environment where
> ### it does not exist!
> eval_tibbles <- purrr::partial(eval_tibbles, envir = environment())
>
> dg <- expand_tibble(fun = "rnorm", n = c(5L, 10L))
> pg <- expand_tibble(proc = c("rng", "median", "length"))
>
> eval_tibbles(dg, pg, rep = 2, simplify = FALSE)
Error in attr(ret$fun, ".truth") <- gt :
cannot set attribute on a 'builtin'
Calls: eval_tibbles ... proc_grid_to_fun -> lapply -> FUN -> extract_fun_and_parameter
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
Running ‘tinytest.R’
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if (requireNamespace("tinytest", quietly = TRUE)) {
+ tinytest::test_package("simTool")
+ }
test_bind_or_combine.R........ 0 tests
test_bind_or_combine.R........ 1 tests [0;32mOK [0m
test_bind_or_combine.R........ 1 tests [0;32mOK [0m
test_bind_or_combine.R........ 2 tests [0;32mOK [0m
test_bind_or_combine.R........ 2 tests [0;32mOK [0m
test_bind_or_combine.R........ 4 tests [0;32mOK [0m
test_bind_or_combine.R........ 4 tests [0;32mOK [0m
test_bind_or_combine.R........ 5 tests [0;32mOK [0m
test_bind_or_combine.R........ 5 tests [0;32mOK [0m
test_bind_or_combine.R........ 6 tests [0;32mOK [0m [0;34m0.5s [0m
test_eval_tibbles.R........... 0 tests
test_eval_tibbles.R........... 3 tests [0;32mOK [0m
test_eval_tibbles.R........... 3 tests [0;32mOK [0m
test_eval_tibbles.R........... 5 tests [0;32mOK [0m
test_eval_tibbles.R........... 5 tests [0;32mOK [0m Error in attr(ret$fun, ".truth") <- gt :
cannot set attribute on a 'builtin'
Calls: <Anonymous> ... proc_grid_to_fun -> lapply -> FUN -> extract_fun_and_parameter
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [20s/45s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘simTool.Rmd’ using rmarkdown
Quitting from simTool.Rmd:142-147 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `attr(ret$fun, ".truth") <- gt`:
! cannot set attribute on a 'builtin'
---
Backtrace:
▆
1. └─simTool::eval_tibbles(data_grid = dg, proc_grid = pg, replications = 2)
2. └─simTool:::proc_grid_to_fun(proc_grid, envir)
3. └─base::lapply(...)
4. └─simTool (local) FUN(X[[i]], ...)
5. └─simTool:::extract_fun_and_parameter(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'simTool.Rmd' failed with diagnostics:
cannot set attribute on a 'builtin'
--- failed re-building ‘simTool.Rmd’
SUMMARY: processing the following file failed:
‘simTool.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [6s/12s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 3 ERRORs