CRAN Package Check Results for Package did2s

Last updated on 2025-12-26 11:52:06 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 8.62 111.94 120.56 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 7.29 79.96 87.25 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 17.00 173.84 190.84 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 17.00 197.60 214.60 OK
r-devel-windows-x86_64 1.2.0 13.00 108.00 121.00 ERROR
r-patched-linux-x86_64 1.2.0 9.17 99.23 108.40 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 109.00 122.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 16.00 144.00 160.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: > ### 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-windows-x86_64