CRAN Package Check Results for Package did2s

Last updated on 2025-12-19 19:50:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 10.18 108.26 118.44 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 6.29 76.01 82.30 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.0 17.00 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 17.00 180.62 197.62 ERROR
r-devel-windows-x86_64 1.2.0 13.00 110.00 123.00 OK
r-patched-linux-x86_64 1.2.0 9.26 98.61 107.87 OK
r-release-linux-x86_64 1.2.0 8.71 97.64 106.35 OK
r-release-macos-arm64 1.2.0 OK
r-release-macos-x86_64 1.2.0 8.00 102.00 110.00 OK
r-release-windows-x86_64 1.2.0 13.00 105.00 118.00 OK
r-oldrel-macos-arm64 1.2.0 OK
r-oldrel-macos-x86_64 1.2.0 8.00 120.00 128.00 OK
r-oldrel-windows-x86_64 1.2.0 17.00 135.00 152.00 OK

Check Details

Version: 1.2.0
Check: examples
Result: ERROR Running examples in ‘did2s-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: gen_data > ### Title: Generate TWFE data > ### Aliases: gen_data > > ### ** Examples > > # Homogeneous treatment effect > df_hom <- gen_data(panel = c(1990, 2020), + g1 = 2000, g2 = 2010, g3 = 0, + te1 = 2, te2 = 2, te3 = 0, + te_m1 = 0, te_m2 = 0, te_m3 = 0) Error in `[.data.table`(df, , `:=`(year_fe, stats::rnorm(1, 0, 0.2)), : attempt access index 6/6 in VECTOR_ELT Calls: gen_data -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.0
Check: examples
Result: ERROR Running examples in ‘did2s-Ex.R’ failed The error most likely occurred in: > ### Name: gen_data > ### Title: Generate TWFE data > ### Aliases: gen_data > > ### ** Examples > > # Homogeneous treatment effect > df_hom <- gen_data(panel = c(1990, 2020), + g1 = 2000, g2 = 2010, g3 = 0, + te1 = 2, te2 = 2, te3 = 0, + te_m1 = 0, te_m2 = 0, te_m3 = 0) Error in `[.data.table`(df, , `:=`(year_fe, stats::rnorm(1, 0, 0.2)), : attempt access index 6/6 in VECTOR_ELT Calls: gen_data -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc