Last updated on 2026-02-26 13:51:53 CET.
| Package | ERROR | OK |
|---|---|---|
| did2s | 1 | 13 |
| didimputation | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
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
Current CRAN status: ERROR: 1, OK: 13
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(didimputation)
Loading required package: fixest
Loading required package: data.table
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
>
> test_check("didimputation")
Saving _problems/test-did_imputation-10.R
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-did_imputation.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-did_imputation.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 1 | SKIP 0 | PASS 0 ]
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.