CRAN Package Check Results for Maintainer ‘Pedro H. C. Sant'Anna <pedrohcgs at gmail.com>’

Last updated on 2025-12-28 05:50:36 CET.

Package ERROR NOTE OK
DRDID 13
staggered 1 2 10

Package DRDID

Current CRAN status: OK: 13

Package staggered

Current CRAN status: ERROR: 1, NOTE: 2, OK: 10

Version: 1.2.2
Check: examples
Result: ERROR Running examples in 'staggered-Ex.R' failed The error most likely occurred in: > ### Name: balance_checks > ### Title: Calculate balance checks in staggered rollout designs > ### Aliases: balance_checks > > ### ** Examples > > ## Don't show: > # restrict threads for CRAN compliance > dt_threads <- data.table::getDTthreads() > data.table::setDTthreads(1) > ## End(Don't show) > > set.seed(1234) > # load the officer data and subset it > df <- pj_officer_level_balanced > group_random <- sample(unique(df$assigned), 3) > df <- df[df$assigned %in% group_random,] > # Calculate balance checks for simple aggregation > balance_checks(df = df, + i = "uid", + t = "period", + g = "first_trained", + y = "complaints", + estimand = "simple") Error in `[.data.table`(df, , `:=`(numPeriods_i, base::length(t)), by = .(i)) : attempt access index 4/4 in VECTOR_ELT Calls: balance_checks -> balance_df -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 1.2.2
Check: installed package size
Result: NOTE installed size is 35.7Mb sub-directories of 1Mb or more: libs 35.1Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.