- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'MonteCarlo' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] 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 ... [6s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [3s] 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%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|==== | 6%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|========= | 12%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|============= | 19%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|================== | 25%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|====================== | 31%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|========================== | 38%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|=============================== | 44%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|=================================== | 50%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|======================================= | 56%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|============================================ | 62%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|================================================ | 69%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|==================================================== | 75%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|========================================================= | 81%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|============================================================= | 88%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|================================================================== | 94%Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: LANGUAGE
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: _R_CHECK_INTERNALS2_
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_ENVIRON_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_USER
Warning in searchCommandline(parallel, cpus = cpus, type = type, socketHosts = socketHosts, :
Unknown option on commandline: R_LIBS_SITE
|
|======================================================================| 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 ... [2s] OK
Running 'testthat.R' [1s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [15s] 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 ... [17s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 2 ERRORs