Last updated on 2026-02-04 04:50:35 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| MonteCarlo | 3 | 1 | 9 |
Current CRAN status: ERROR: 3, NOTE: 1, OK: 9
Version: 1.0.6
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Christian Hendrik Leschinski <christian_leschinski@gmx.de>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Christian", "Hendrik"),
family = "Leschinski",
role = c("aut", "cre"),
email = "christian_leschinski@gmx.de")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.6
Check: examples
Result: ERROR
Running examples in ‘MonteCarlo-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.6
Check: re-building of vignette outputs
Result: 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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.6
Check: examples
Result: 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.6
Check: re-building of vignette outputs
Result: 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc