- using R version 4.5.2 (2025-10-31 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 '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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'vardpoor' can be installed ... OK
See the install log for details.
- 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] 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 ... [18s] OK
- checking Rd files ... [1s] 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 ... [4s] 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")
>
> 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 ... [22s] OK
- checking HTML version of manual ... [9s] OK
- DONE
Status: 1 ERROR, 2 NOTEs