Last updated on 2025-12-20 03:49:14 CET.
| Package | ERROR | OK |
|---|---|---|
| paramix | 3 | 10 |
Current CRAN status: ERROR: 3, OK: 10
Version: 0.0.2
Check: examples
Result: ERROR
Running examples in ‘paramix-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: parameter_summary
> ### Title: Parameter Calculation Comparison Summary
> ### Aliases: parameter_summary
>
> ### ** Examples
>
> # COVID IFR from Levin et al 2020 https://doi.org/10.1007/s10654-020-00698-1
> f_param <- function(age_in_years) {
+ (10^(-3.27 + 0.0524 * age_in_years))/100
+ }
>
> densities <- data.frame(
+ from = 0:101,
+ weight = c(rep(1, 66), exp(-0.075 * 1:35), 0)
+ )
>
> model_partition <- c(0, 5, 20, 65, 101)
>
> ps_dt <- parameter_summary(f_param, densities, model_partition)
Error in `[.data.table`(plot_dt, , `:=`(c("f_mid", "f_mean", "mean_f", :
attempt access index 4/4 in VECTOR_ELT
Calls: parameter_summary -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.0.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘intro.Rmd’ using rmarkdown
Quitting from intro.Rmd:118-124 [ifrplotsetup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 4/4 in VECTOR_ELT
---
Backtrace:
▆
1. ├─...[]
2. ├─data.table:::`[.data.table`(...)
3. └─paramix::parameter_summary(...)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'intro.Rmd' failed with diagnostics:
attempt access index 4/4 in VECTOR_ELT
--- failed re-building ‘intro.Rmd’
SUMMARY: processing the following file failed:
‘intro.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.0.2
Check: examples
Result: ERROR
Running examples in ‘paramix-Ex.R’ failed
The error most likely occurred in:
> ### Name: parameter_summary
> ### Title: Parameter Calculation Comparison Summary
> ### Aliases: parameter_summary
>
> ### ** Examples
>
> # COVID IFR from Levin et al 2020 https://doi.org/10.1007/s10654-020-00698-1
> f_param <- function(age_in_years) {
+ (10^(-3.27 + 0.0524 * age_in_years))/100
+ }
>
> densities <- data.frame(
+ from = 0:101,
+ weight = c(rep(1, 66), exp(-0.075 * 1:35), 0)
+ )
>
> model_partition <- c(0, 5, 20, 65, 101)
>
> ps_dt <- parameter_summary(f_param, densities, model_partition)
Error in `[.data.table`(plot_dt, , `:=`(c("f_mid", "f_mean", "mean_f", :
attempt access index 4/4 in VECTOR_ELT
Calls: parameter_summary -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.0.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘intro.Rmd’ using rmarkdown
Quitting from intro.Rmd:118-124 [ifrplotsetup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 4/4 in VECTOR_ELT
---
Backtrace:
▆
1. ├─...[]
2. ├─data.table:::`[.data.table`(...)
3. └─paramix::parameter_summary(...)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'intro.Rmd' failed with diagnostics:
attempt access index 4/4 in VECTOR_ELT
--- failed re-building ‘intro.Rmd’
SUMMARY: processing the following file failed:
‘intro.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc