Last updated on 2025-12-28 03:52:02 CET.
| Package | ERROR | OK |
|---|---|---|
| IrregLong | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in 'IrregLong-Ex.R' failed
The error most likely occurred in:
> ### Name: iiw
> ### Title: Given a proportional hazards model for visit intensities,
> ### compute inverse-intensity weights.
> ### Aliases: iiw
>
> ### ** Examples
>
> library(nlme)
> library(survival)
> library(geeM)
Loading required package: Matrix
> library(data.table)
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
> data(Phenobarb)
> Phenobarb$event <- 1-as.numeric(is.na(Phenobarb$conc))
> data <- Phenobarb
> data <- data[data$event==1,]
> data$id <- as.numeric(data$Subject)
> data <- data[data$time<16*24,]
> data <- lagfn(data, lagvars=c("time","conc"), id="Subject", time="time", lagfirst = NA)
Error in `[.data.table`(dt, , `:=`((lagged.names)[col], shift(.SD, fill = lagfirst[col])), :
attempt access index 9/9 in VECTOR_ELT
Calls: lagfn -> [ -> [.data.table
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'Irreglong-vignette.Rmd' using rmarkdown
Quitting from Irreglong-vignette.Rmd:87-94 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 9/9 in VECTOR_ELT
---
Backtrace:
▆
1. └─IrregLong::extent.of.irregularity(...)
2. └─base::lapply(...)
3. └─IrregLong (local) FUN(X[[i]], ...)
4. └─IrregLong::lagfn(datacox, lagvars, id, time)
5. ├─...[]
6. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Irreglong-vignette.Rmd' failed with diagnostics:
attempt access index 9/9 in VECTOR_ELT
--- failed re-building 'Irreglong-vignette.Rmd'
SUMMARY: processing the following file failed:
'Irreglong-vignette.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.