Last updated on 2025-12-28 05:50:40 CET.
| Package | ERROR | OK |
|---|---|---|
| ofpetrial | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
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
Flavor: r-devel-windows-x86_64
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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/dplyr:::mutate_error>
Error in `dplyr::mutate()`:
ℹ In argument: `exp_plots = list(...)`.
ℹ In row 1.
Caused by error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
---
Backtrace:
▆
1. ├─ofpetrial::make_exp_plots(...)
2. │ └─... %>% ...
3. ├─dplyr::mutate(...)
4. ├─dplyr::mutate(...)
5. ├─dplyr::mutate(...)
6. ├─dplyr::mutate(...)
7. ├─dplyr::mutate(...)
8. ├─dplyr:::mutate.data.frame(...)
9. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
10. │ ├─base::withCallingHandlers(...)
11. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
12. │ └─mask$eval_all_mutate(quo)
13. │ └─dplyr (local) eval()
14. ├─ofpetrial:::make_trial_plots_by_input(...)
15. │ └─... %>% purrr::reduce(rbind)
16. ├─purrr::reduce(., rbind)
17. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
18. │ └─purrr:::reduce_init(.x, .init, left = left, error_call = .purrr_error_call)
19. │ └─rlang::is_empty(x)
20. ├─purrr::pluck(., "int_line")
21. │ └─purrr:::pluck_raw(.x, list2(...), .default = .default)
22. ├─dplyr::filter(., nrow(int_line) != 0)
23. ├─dplyr::mutate(...)
24. ├─dplyr::mutate(...)
25. ├─dplyr::left_join(...)
26. ├─dplyr::rowwise(.)
27. ├─sf::st_as_sf(.)
28. ├─.[, `:=`(poly_id, 1:.N), by = group]
29. └─data.table:::`[.data.table`(., , `:=`(poly_id, 1:.N), by = group)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
Flavor: r-devel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.