- using R Under development (unstable) (2025-03-29 r88074)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3)
Debian flang-new version 19.1.7 (3)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- 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 serialization versions ... OK
- checking whether package ‘simTool’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [7s/10s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
expand_tibble.Rd: tibble
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
- 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 ... [1s/2s] ERROR
Running examples in ‘simTool-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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 ... [2s/2s] ERROR
Running ‘tinytest.R’ [2s/2s]
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.1s [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 ... [3s/5s] 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 ... [4s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs, 1 NOTE