CRAN Package Check Results for Package did2s

Last updated on 2026-02-28 11:49:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 10.51 111.85 122.36 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 6.33 79.03 85.36 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 18.00 174.66 192.66 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 15.00 164.65 179.65 ERROR
r-devel-macos-arm64 1.2.0 3.00 33.00 36.00 OK
r-devel-windows-x86_64 1.2.0 13.00 112.00 125.00 OK
r-patched-linux-x86_64 1.2.0 9.89 101.67 111.56 OK
r-release-linux-x86_64 1.2.0 10.11 99.14 109.25 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 12.00 110.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 140.00 156.00 OK

Check Details

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [22s/27s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(did2s) Loading required package: fixest did2s (v1.2.0). For more information on the methodology, visit <https://www.kylebutts.github.io/did2s> To cite did2s in publications use: Butts & Gardner, "The R Journal: did2s: Two-Stage Difference-in-Differences", The R Journal, 2022 A BibTeX entry for LaTeX users is @Manual{, title = {did2s: Two-Stage Difference-in-Differences Following Gardner (2021)}, author = {Kyle Butts and John Gardner}, year = {2021}, url = {https://journal.r-project.org/articles/RJ-2022-048/}, } > > test_check("did2s") Saving _problems/test-did2s-10.R Note these estimators rely on different underlying assumptions. See Table 2 of `https://arxiv.org/abs/2109.05913` for an overview. The variable 'x3' has been removed because of collinearity (see $collin.var). [ FAIL 1 | WARN 2 | SKIP 0 | PASS 21 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-did2s.R:8:1'): (code run outside of `test_that()`) ───────────── Error in `open.connection(con, "rb")`: cannot open the connection Backtrace: ▆ 1. └─haven::read_dta("https://github.com/scunning1975/mixtape/raw/master/castle.dta") at test-did2s.R:8:1 2. └─readr::datasource(file) 3. └─readr:::datasource_connection(...) 4. └─readr:::read_connection(path) 5. ├─base::open(con, "rb") 6. └─base::open.connection(con, "rb") [ FAIL 1 | WARN 2 | SKIP 0 | PASS 21 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

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.