R Under development (unstable) (2025-09-17 r88852 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(did2s) Loading required package: fixest did2s (v1.2.0). For more information on the methodology, visit 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") ! curl package not installed, falling back to using `url()` 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 0 | WARN 1 | SKIP 0 | PASS 29 ] [ FAIL 0 | WARN 1 | SKIP 0 | PASS 29 ] > > proc.time() user system elapsed 11.89 1.46 13.87