* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/actuaRE.Rcheck’ * using R Under development (unstable) (2025-12-20 r89211) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘actuaRE/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘actuaRE’ version ‘0.1.7’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘actuaRE’ can be installed ... [12s/12s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [16s/17s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘actuaRE-Ex.R’ failed The error most likely occurred in: > ### Name: hierCredibility > ### Title: Hierarchical credibility model of Jewell > ### Aliases: hierCredibility > > ### ** Examples > > library(actuar) Attaching package: ‘actuar’ The following objects are masked from ‘package:stats’: sd, var The following object is masked from ‘package:grDevices’: cm > library(actuaRE) > data("hachemeister", package = "actuar") > Df = as.data.frame(hachemeister) > X = as.data.frame(cbind(cohort = c(1, 2, 1, 2, 2), hachemeister)) > Df = reshape(X, idvar = "state", varying = list(paste0("ratio.", 1:12), + paste0("weight.", 1:12)), direction = "long") > fitActuar = cm(~ cohort + cohort:state, data = X, ratios = ratio.1:ratio.12, + weights = weight.1:weight.12, method = "Ohlsson") > fitActuaRE = hierCredibility(ratio.1, weight.1, cohort, state, Df) Error in `[.data.table`(Dfjk, , `:=`(Yj_BarTilde, Dfj$Yj_BarTilde[which(Dfj$sector == : attempt access index 4/4 in VECTOR_ELT Calls: hierCredibility -> [ -> [.data.table Execution halted * checking examples with --run-donttest ... ERROR Running examples in ‘actuaRE-Ex.R’ failed The error most likely occurred in: > ### Name: BalanceProperty > ### Title: Balance property > ### Aliases: BalanceProperty > > ### ** Examples > > ## No test: > fit = hierCredGLM(Y ~ area + (1 | VehicleType / VehicleBody), dataCar, weights = w, + p = 1.75, epsilon = 1e-6) Error in `[.data.table`(Dfjk, , `:=`(Yj_BarTilde, Dfj$Yj_BarTilde[which(Dfj$sector == : attempt access index 4/4 in VECTOR_ELT Calls: hierCredGLM ... eval -> eval -> hierCredibility -> [ -> [.data.table Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [11s/11s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘actuaRE.Rmd’ using rmarkdown Quitting from actuaRE.Rmd:75-80 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `[.data.table`: ! attempt access index 4/4 in VECTOR_ELT --- Backtrace: ▆ 1. └─actuaRE::hierCredibility(ratio, weight, cohort, state, hachemeisterLong) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'actuaRE.Rmd' failed with diagnostics: attempt access index 4/4 in VECTOR_ELT --- failed re-building ‘actuaRE.Rmd’ SUMMARY: processing the following file failed: ‘actuaRE.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 3 ERRORs See ‘/data/blackswan/ripley/R/packages/tests-devel/actuaRE.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:12.82, 110.33 + 20.64