Last updated on 2025-12-28 01:48:38 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.9 | 23.49 | 324.86 | 348.35 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.9 | 15.68 | 231.47 | 247.15 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.2.9 | 44.00 | 476.39 | 520.39 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.9 | 42.00 | 490.71 | 532.71 | OK | |
| r-devel-windows-x86_64 | 0.2.9 | 23.00 | 207.00 | 230.00 | ERROR | |
| r-patched-linux-x86_64 | 0.2.9 | 22.66 | 275.81 | 298.47 | OK | |
| r-release-linux-x86_64 | 0.2.9 | 22.77 | 274.64 | 297.41 | OK | |
| r-release-macos-arm64 | 0.2.9 | OK | ||||
| r-release-macos-x86_64 | 0.2.9 | 14.00 | 286.00 | 300.00 | OK | |
| r-release-windows-x86_64 | 0.2.9 | 22.00 | 252.00 | 274.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.9 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.9 | 14.00 | 254.00 | 268.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.9 | 33.00 | 323.00 | 356.00 | OK |
Version: 0.2.9
Check: examples
Result: ERROR
Running examples in 'eventPred-Ex.R' failed
The error most likely occurred in:
> ### Name: getPrediction
> ### Title: Enrollment and event prediction
> ### Aliases: getPrediction
>
> ### ** Examples
>
> # Event prediction after enrollment completion
> set.seed(3000)
>
> pred <- getPrediction(
+ df = interimData2, to_predict = "event only",
+ target_d = 200,
+ event_model = "weibull",
+ dropout_model = "exponential",
+ pilevel = 0.90, nreps = 100)
Error in `[.data.table`(newEvents[get("event") == 1], do.call("order", :
attempt access index 7/7 in VECTOR_ELT
Calls: getPrediction -> predictEvent -> [ -> [.data.table
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.9
Check: tests
Result: ERROR
Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(eventPred)
>
> test_check("eventPred")
Saving _problems/test-getPrediction-30.R
Saving _problems/test-getPrediction-51.R
Saving _problems/test-getPrediction-69.R
Saving _problems/test-predictEvent-33.R
Saving _problems/test-predictEvent-74.R
Saving _problems/test-predictEvent-102.R
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 28 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-getPrediction.R:21:3'): event prediction at design stage ───────
Error in ``[.data.table`(newEvents[get("event") == 1], do.call("order", lapply(c("draw", "totalTime"), as.name)), `:=`(n = seq_len(.N)), by = "draw")`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─eventPred::getPrediction(...) at test-getPrediction.R:21:3
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test-getPrediction.R:42:3'): event prediction during enrollment phase ──
Error in ``[.data.table`(newEvents[get("event") == 1], do.call("order", lapply(c("draw", "totalTime"), as.name)), `:=`(n = seq_len(.N)), by = "draw")`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─eventPred::getPrediction(...) at test-getPrediction.R:42:3
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test-getPrediction.R:63:3'): event prediction after enrollment completion ──
Error in ``[.data.table`(newEvents[get("event") == 1], do.call("order", lapply(c("draw", "totalTime"), as.name)), `:=`(n = seq_len(.N)), by = "draw")`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─eventPred::getPrediction(...) at test-getPrediction.R:63:3
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test-predictEvent.R:27:3'): event prediction at design stage ────────
Error in ``[.data.table`(newEvents[get("event") == 1], do.call("order", lapply(c("draw", "totalTime"), as.name)), `:=`(n = seq_len(.N)), by = "draw")`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─eventPred::predictEvent(...) at test-predictEvent.R:27:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test-predictEvent.R:68:3'): event prediction during enrollment stage ──
Error in ``[.data.table`(newEvents[get("event") == 1], do.call("order", lapply(c("draw", "totalTime"), as.name)), `:=`(n = seq_len(.N)), by = "draw")`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─eventPred::predictEvent(...) at test-predictEvent.R:68:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test-predictEvent.R:97:3'): event prediction after enrollment completion ──
Error in ``[.data.table`(newEvents[get("event") == 1], do.call("order", lapply(c("draw", "totalTime"), as.name)), `:=`(n = seq_len(.N)), by = "draw")`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─eventPred::predictEvent(...) at test-predictEvent.R:97:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 28 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.9
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'event_prediction_after_enrollment_completion.Rmd' using rmarkdown
Quitting from event_prediction_after_enrollment_completion.Rmd:28-40 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
▆
1. └─eventPred::getPrediction(...)
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'event_prediction_after_enrollment_completion.Rmd' failed with diagnostics:
attempt access index 7/7 in VECTOR_ELT
--- failed re-building 'event_prediction_after_enrollment_completion.Rmd'
--- re-building 'event_prediction_at_the_design_stage.Rmd' using rmarkdown
Quitting from event_prediction_at_the_design_stage.Rmd:69-83 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 9/9 in VECTOR_ELT
---
Backtrace:
▆
1. └─eventPred::getPrediction(...)
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'event_prediction_at_the_design_stage.Rmd' failed with diagnostics:
attempt access index 9/9 in VECTOR_ELT
--- failed re-building 'event_prediction_at_the_design_stage.Rmd'
--- re-building 'event_prediction_before_enrollment_completion.Rmd' using rmarkdown
Quitting from event_prediction_before_enrollment_completion.Rmd:27-40 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
▆
1. └─eventPred::getPrediction(...)
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'event_prediction_before_enrollment_completion.Rmd' failed with diagnostics:
attempt access index 7/7 in VECTOR_ELT
--- failed re-building 'event_prediction_before_enrollment_completion.Rmd'
--- re-building 'event_prediction_incorporating_covariates.Rmd' using rmarkdown
Quitting from event_prediction_incorporating_covariates.Rmd:28-45 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
▆
1. └─eventPred::getPrediction(...)
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'event_prediction_incorporating_covariates.Rmd' failed with diagnostics:
attempt access index 7/7 in VECTOR_ELT
--- failed re-building 'event_prediction_incorporating_covariates.Rmd'
--- re-building 'event_prediction_incorporating_prior_information.Rmd' using rmarkdown
Quitting from event_prediction_incorporating_prior_information.Rmd:27-48 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
▆
1. └─eventPred::getPrediction(...)
2. └─eventPred::predictEvent(...)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'event_prediction_incorporating_prior_information.Rmd' failed with diagnostics:
attempt access index 7/7 in VECTOR_ELT
--- failed re-building 'event_prediction_incorporating_prior_information.Rmd'
SUMMARY: processing the following files failed:
'event_prediction_after_enrollment_completion.Rmd'
'event_prediction_at_the_design_stage.Rmd'
'event_prediction_before_enrollment_completion.Rmd'
'event_prediction_incorporating_covariates.Rmd'
'event_prediction_incorporating_prior_information.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.