Last updated on 2025-03-29 08:53:21 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
bootGOF | 2 | 13 | |
sanityTracker | 7 | 8 | |
simTool | 4 | 2 | 9 |
Current CRAN status: NOTE: 2, OK: 13
Version: 0.1.0
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘R6’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Current CRAN status: NOTE: 7, OK: 8
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 4, NOTE: 2, OK: 9
Version: 1.1.7
Check: Rd cross-references
Result: 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.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64
Version: 1.1.7
Check: examples
Result: 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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.1.7
Check: tests
Result: ERROR
Running ‘tinytest.R’ [1s/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 <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 1 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 2 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 2 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 4 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 4 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 5 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 5 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
test_eval_tibbles.R........... 0 tests
test_eval_tibbles.R........... 3 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 3 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 5 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 5 tests <1b>[0;32mOK<1b>[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
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.1.7
Check: re-building of vignette outputs
Result: 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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.1.7
Check: tests
Result: ERROR
Running ‘tinytest.R’ [1s/1s]
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 <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 1 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 2 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 2 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 4 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 4 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 5 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 5 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
test_eval_tibbles.R........... 0 tests
test_eval_tibbles.R........... 3 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 3 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 5 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 5 tests <1b>[0;32mOK<1b>[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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.7
Check: examples
Result: 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.1.7
Check: tests
Result: 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 <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 1 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 2 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 2 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 4 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 4 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 5 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 5 tests <1b>[0;32mOK<1b>[0m
test_bind_or_combine.R........ 6 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m
test_eval_tibbles.R........... 0 tests
test_eval_tibbles.R........... 3 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 3 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 5 tests <1b>[0;32mOK<1b>[0m
test_eval_tibbles.R........... 5 tests <1b>[0;32mOK<1b>[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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.1.7
Check: re-building of vignette outputs
Result: 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc