Last updated on 2025-12-21 11:50:29 CET.
| Package | ERROR | OK |
|---|---|---|
| IrregLong | 4 | 9 |
Current CRAN status: ERROR: 4, OK: 9
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in ‘IrregLong-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc