* using log directory 'd:/Rcompile/CRANpkg/local/4.6/actuaRE.Rcheck' * using R Under development (unstable) (2025-12-23 r89222 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'actuaRE' can be installed ... OK * checking installed package size ... 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 ... [4s] OK * checking whether the package can be loaded with stated dependencies ... [4s] OK * checking whether the package can be unloaded cleanly ... [4s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [4s] OK * checking loading without being on the library search path ... [4s] OK * checking whether startup messages can be suppressed ... [4s] OK * checking use of S3 registration ... 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 ... [10s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [0s] 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 ... [7s] 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 for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [5s] 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 ... [21s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 2 ERRORs