Last updated on 2025-12-28 01:49:12 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| drugDemand | 13 | ||
| eventPred | 1 | 12 | |
| lrstat | 7 | 6 | |
| tmvtnsim | 13 | ||
| trtswitch | 1 | 6 | 6 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
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
Current CRAN status: NOTE: 7, OK: 6
Version: 0.2.15
Check: compiled code
Result: NOTE
File ‘lrstat/libs/lrstat.so’:
Found non-API call to R: ‘ATTRIB’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.15
Check: compiled code
Result: NOTE
File 'lrstat/libs/x64/lrstat.dll':
Found non-API call to R: 'ATTRIB'
Compiled code should not call non-API entry points in R.
See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
Flavor: r-devel-windows-x86_64
Version: 0.2.15
Check: installed package size
Result: NOTE
installed size is 93.6Mb
sub-directories of 1Mb or more:
help 1.1Mb
libs 91.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, NOTE: 6, OK: 6
Version: 0.2.2
Check: compiled code
Result: NOTE
File ‘trtswitch/libs/trtswitch.so’:
Found non-API call to R: ‘ATTRIB’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.2
Check: compiled code
Result: NOTE
File 'trtswitch/libs/x64/trtswitch.dll':
Found non-API call to R: 'ATTRIB'
Compiled code should not call non-API entry points in R.
See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
Flavor: r-devel-windows-x86_64
Version: 0.2.2
Check: examples
Result: ERROR
Running examples in 'trtswitch-Ex.R' failed
The error most likely occurred in:
> ### Name: preptdc
> ### Title: Prepare Survival Data With Time-Dependent Covariates
> ### Aliases: preptdc
>
> ### ** Examples
>
>
> surv_data <- preptdc(adsl, adtdc, nodup = TRUE)
Error in `[.data.table`(data3, , `:=`(temp_col = data.table::nafill(get(aval), :
attempt access index 7/7 in VECTOR_ELT
Calls: preptdc -> [ -> [.data.table
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.2
Check: installed package size
Result: NOTE
installed size is 30.9Mb
sub-directories of 1Mb or more:
libs 29.9Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-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.