* using log directory ‘/Users/ripley/R/packages/tests-devel/vardpoor.Rcheck’ * using R Under development (unstable) (2025-12-24 r89227) * using platform: aarch64-apple-darwin25.2.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.6.3.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.2 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘vardpoor/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘vardpoor’ version ‘0.20.1’ * 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 ‘vardpoor’ can be installed ... OK * checking installed package size ... OK * checking package 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 ... NOTE Problems with news in ‘NEWS.md’: No news entries found. * 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 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 ... OK * checking Rd files ... NOTE checkRd: (-1) vardannual.Rd:97: Lost braces 97 | \item{ID_level2}{Optional}{variable for unit ID codes. One dimensional object convertible to one-column \code{data.table} or variable name as character, column number.} | ^ checkRd: (-1) vardannual.Rd:99: Lost braces 99 | \item{dataset}{Optional}{survey data object convertible to \code{data.table}.} | ^ checkRd: (-1) vardcrospoor.Rd:122: Lost braces 122 | \item{ind_gr}{Optional}{variable by which divided independently X matrix of the auxiliary variables for the calibration. One dimensional object convertible to one-column \code{data.table} or variable name as character, column number.} | ^ checkRd: (-1) vardcrospoor.Rd:124: Lost braces 124 | \item{use.estVar}{Logical}{value. If value is \code{TRUE}, then \code{R} function \code{estVar} is used for the estimation of covariance matrix of the residuals. If value is \code{FALSE}, then \code{R} function \code{estVar} is not used for the estimation of covariance matrix of the residuals.} | ^ checkRd: (-1) vardom_othstr.Rd:69: Lost braces 69 | \item{percentratio}{Positive}{numeric value. All linearized variables are multiplied with \code{percentratio} value, by default - 1.} | ^ checkRd: (-1) varpoord.Rd:121: Lost braces 121 | \item{month_at_work}{Variable}{for total number of month at work (sum of the number of months spent at full-time work as employee, number of months spent at part-time work as employee, number of months spent at full-time work as self-employed (including family worker), number of months spent at part-time work as self-employed (including family worker)). One dimensional object convertible to one-column \code{data.table} or variable name as character, column number.} | ^ * 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 LazyData ... INFO 'LazyData' is specified without a 'data' directory * checking examples ... ERROR Running examples in ‘vardpoor-Ex.R’ failed The error most likely occurred in: > ### Name: vardannual > ### Title: Variance estimation for measures of annual net change or annual > ### for single and multistage stage cluster sampling designs > ### Aliases: vardannual > ### Keywords: vardannual > > ### ** Examples > > > ### Example > library("data.table") Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > > set.seed(1) > > data("eusilc", package = "laeken") > eusilc1 <- eusilc[1:20, ] > rm(eusilc) > > dataset1 <- data.table(rbind(eusilc1, eusilc1), + year = c(rep(2010, nrow(eusilc1)), + rep(2011, nrow(eusilc1)))) > rm(eusilc1) > > dataset1[, country := "AT"] > dataset1[, half := .I - 2 * trunc((.I - 1) / 2)] > dataset1[, quarter := .I - 4 * trunc((.I - 1) / 4)] > dataset1[age < 0, age := 0] > > PSU <- dataset1[, .N, keyby = "db030"][, N := NULL][] > PSU[, PSU := trunc(runif(.N, 0, 5))] > > dataset1 <- merge(dataset1, PSU, all = TRUE, by = "db030") > rm(PSU) > > dataset1[, strata := "XXXX"] > dataset1[, employed := trunc(runif(.N, 0, 2))] > dataset1[, unemployed := trunc(runif(.N, 0, 2))] > dataset1[, labour_force := employed + unemployed] > dataset1[, id_lv2 := paste0("V", .I)] > > vardannual(Y = "employed", H = "strata", + PSU = "PSU", w_final = "rb050", + ID_level1 = "db030", ID_level2 = "id_lv2", + Dom = NULL, Z = NULL, years = "year", + subperiods = "half", dataset = dataset1, + percentratio = 100, confidence = 0.95, + method = "cros") Error in t(X) %*% A_matrix : non-conformable arguments Calls: vardannual -> lapply -> FUN -> data.table Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs See ‘/Users/ripley/R/packages/tests-devel/vardpoor.Rcheck/00check.log’ for details. 27.98 real 22.51 user 3.83 sys