Last updated on 2025-12-21 11:50:46 CET.
| Package | ERROR | OK |
|---|---|---|
| ofpetrial | 4 | 9 |
Current CRAN status: ERROR: 4, OK: 9
Version: 0.1.3
Check: examples
Result: ERROR
Running examples in ‘ofpetrial-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: add_blocks
> ### Title: Add blocks to trial design
> ### Aliases: add_blocks
>
> ### ** Examples
>
> #--- load rate information ---#
> data(td_single_input)
>
> #--- add blocks ---#
> td_with_blocks <- add_blocks(td_single_input)
Error in `dplyr::mutate()`:
ℹ In argument: `trial_design = list(...)`.
ℹ In row 1.
Caused by error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. ├─ofpetrial::add_blocks(td_single_input)
2. │ └─... %>% ...
3. ├─dplyr::mutate(...)
4. ├─dplyr:::mutate.data.frame(...)
5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
6. │ ├─base::withCallingHandlers(...)
7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
8. │ └─mask$eval_all_mutate(quo)
9. │ └─dplyr (local) eval()
10. ├─... %>% sf::st_as_sf()
11. ├─sf::st_as_sf(.)
12. ├─.[, `:=`(block_id, .GRP), by = .(block_row, block_col)]
13. ├─data.table:::`[.data.table`(...)
14. └─base::.handleSimpleError(...)
15. └─dplyr (local) h(simpleError(msg, call))
16. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.3
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘basic-work-flow.Rmd’ using rmarkdown
Quitting from basic-work-flow.Rmd:61-71 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'basic-work-flow.Rmd' failed with diagnostics:
ℹ In argument: `exp_plots = list(...)`.
ℹ In row 1.
Caused by error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
--- failed re-building ‘basic-work-flow.Rmd’
SUMMARY: processing the following file failed:
‘basic-work-flow.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.3
Check: examples
Result: ERROR
Running examples in ‘ofpetrial-Ex.R’ failed
The error most likely occurred in:
> ### Name: add_blocks
> ### Title: Add blocks to trial design
> ### Aliases: add_blocks
>
> ### ** Examples
>
> #--- load rate information ---#
> data(td_single_input)
>
> #--- add blocks ---#
> td_with_blocks <- add_blocks(td_single_input)
Error in `dplyr::mutate()`:
ℹ In argument: `trial_design = list(...)`.
ℹ In row 1.
Caused by error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. ├─ofpetrial::add_blocks(td_single_input)
2. │ └─... %>% ...
3. ├─dplyr::mutate(...)
4. ├─dplyr:::mutate.data.frame(...)
5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
6. │ ├─base::withCallingHandlers(...)
7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
8. │ └─mask$eval_all_mutate(quo)
9. │ └─dplyr (local) eval()
10. ├─... %>% sf::st_as_sf()
11. ├─sf::st_as_sf(.)
12. ├─.[, `:=`(block_id, .GRP), by = .(block_row, block_col)]
13. ├─data.table:::`[.data.table`(...)
14. └─base::.handleSimpleError(...)
15. └─dplyr (local) h(simpleError(msg, call))
16. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.3
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘basic-work-flow.Rmd’ using rmarkdown
Quitting from basic-work-flow.Rmd:61-71 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'basic-work-flow.Rmd' failed with diagnostics:
ℹ In argument: `exp_plots = list(...)`.
ℹ In row 1.
Caused by error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
--- failed re-building ‘basic-work-flow.Rmd’
SUMMARY: processing the following file failed:
‘basic-work-flow.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc