- using R Under development (unstable) (2026-02-03 r89372)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-02-03 11:31:56Z
- using option ‘--no-stop-on-test-error’
- checking for file ‘MonteCarlo/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘MonteCarlo’ version ‘1.0.6’
- 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 ‘MonteCarlo’ can be installed ... [6s/12s] 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 ... [9s/28s] 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 ... [4s/10s] ERROR
Running examples in ‘MonteCarlo-Ex.R’ failed
The error most likely occurred in:
> ### Name: MakeFrame
> ### Title: Conversion of MonteCarlo outputs to data.frame.
> ### Aliases: MakeFrame
>
> ### ** Examples
>
> test_func<-function(n,loc,scale){
+ sample<-rnorm(n, loc, scale)
+ stat<-sqrt(n)*mean(sample)/sd(sample)
+ decision<-abs(stat)>1.96
+ return(list("decision"=decision, "stat"=stat))
+ }
>
> n_grid<-c(50,100,250,500)
> loc_grid<-c(0,1)
> scale_grid<-c(1,2)
>
> param_list=list("n"=n_grid, "loc"=loc_grid, "scale"=scale_grid)
> erg<-MonteCarlo(func=test_func, nrep=250, param_list=param_list, ncpus=1)
Grid of 16 parameter constellations to be evaluated.
Progress:
|
| | 0%
|
|==== | 6%
|
|========= | 12%
|
|============= | 19%
|
|================== | 25%
|
|====================== | 31%
|
|========================== | 38%
|
|=============================== | 44%
|
|=================================== | 50%
|
|======================================= | 56%
|
|============================================ | 62%
|
|================================================ | 69%
|
|==================================================== | 75%
|
|========================================================= | 81%
|
|============================================================= | 88%
|
|================================================================== | 94%
|
|======================================================================| 100%
> df<-MakeFrame(erg)
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
Warning in type.convert.default(X[[i]], ...) :
'as.is' should be specified by the caller; using TRUE
> head(df)
n loc scale decision stat
1 50 0 1 0 0.5140555
2 100 0 1 0 0.7036153
3 250 0 1 0 0.5273391
4 500 0 1 0 0.8101010
5 50 1 1 1 9.5673985
6 100 1 1 1 12.2424763
>
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> library(ggplot2)
> tbl <- tbl_df(df)
Error:
! `tbl_df()` was deprecated in dplyr 1.0.0 and is now defunct.
ℹ Please use `tibble::as_tibble()` instead.
Backtrace:
▆
1. └─dplyr::tbl_df(df)
2. └─lifecycle::deprecate_stop("1.0.0", "tbl_df()", "tibble::as_tibble()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... OK
Running ‘testthat.R’
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [30s/79s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘MonteCarlo-Vignette.Rmd’ using rmarkdown
Quitting from MonteCarlo-Vignette.Rmd:315-320 [unnamed-chunk-15]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/lifecycle_error_deprecated>
Error:
! `tbl_df()` was deprecated in dplyr 1.0.0 and is now defunct.
ℹ Please use `tibble::as_tibble()` instead.
---
Backtrace:
▆
1. └─dplyr::tbl_df(df)
2. └─lifecycle::deprecate_stop("1.0.0", "tbl_df()", "tibble::as_tibble()")
3. └─lifecycle:::deprecate_stop0(msg)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'MonteCarlo-Vignette.Rmd' failed with diagnostics:
`tbl_df()` was deprecated in dplyr 1.0.0 and is now defunct.
ℹ Please use `tibble::as_tibble()` instead.
--- failed re-building ‘MonteCarlo-Vignette.Rmd’
SUMMARY: processing the following file failed:
‘MonteCarlo-Vignette.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [7s/16s] 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: 2 ERRORs