CRAN Package Check Results for Package gompertztrunc

Last updated on 2023-01-31 04:06:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 7.53 120.14 127.67 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 5.86 94.64 100.50 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 157.52 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 172.10 OK
r-devel-windows-x86_64 0.1.1 12.00 200.00 212.00 ERROR
r-patched-linux-x86_64 0.1.1 6.11 126.69 132.80 OK
r-release-linux-x86_64 0.1.1 5.08 123.52 128.60 OK
r-release-macos-arm64 0.1.1 45.00 OK
r-release-macos-x86_64 0.1.1 76.00 OK
r-release-windows-x86_64 0.1.1 24.00 208.00 232.00 OK
r-oldrel-macos-arm64 0.1.1 45.00 OK
r-oldrel-macos-x86_64 0.1.1 79.00 OK
r-oldrel-windows-ix86+x86_64 0.1.1 14.00 205.00 219.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in 'gompertztrunc-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: diagnostic_plot
    > ### Title: Create diagnostic plots
    > ### Aliases: diagnostic_plot
    >
    > ### ** Examples
    >
    > # Create a single-cohort data set
    > numident_c1920 <- numident_demo %>% dplyr::filter(byear == 1920) %>%
    + dplyr::mutate(finished_hs = as.factor(educ_yrs >= 12))
    >
    > # Run gompertz_mle()
    > gradient <- gompertztrunc::gompertz_mle(formula = death_age ~ finished_hs,
    + left_trunc = 1988, right_trunc = 2005, data = numident_c1920)
    >
    > # Create diagnostic histogram plot using model outcome
    > gompertztrunc::diagnostic_plot(object = gradient, data = numident_c1920,
    + covar = "finished_hs", xlim = c(60, 95))
    Error in .shallow(x, cols = cols, retain.key = TRUE) :
     attempt to set index 0/0 in SET_VECTOR_ELT
    Calls: <Anonymous> ... names<- -> names<-.data.table -> shallow -> .shallow
    Execution halted
Flavor: r-devel-windows-x86_64