CRAN Package Check Results for Package contdid

Last updated on 2026-11-07 18:51:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 7.42 121.95 129.37 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 6.04 80.33 86.37 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 OK
r-devel-linux-x86_64-fedora-gcc 0.1.2 78.80 OK
r-devel-windows-x86_64 0.1.1 10.00 116.00 126.00 ERROR
r-patched-linux-x86_64 0.1.2 OK
r-release-linux-x86_64 0.1.2 7.30 114.44 121.74 OK
r-release-macos-arm64 0.1.2 2.00 33.00 35.00 OK
r-release-macos-x86_64 0.1.2 5.00 158.00 163.00 OK
r-release-windows-x86_64 0.1.2 12.00 129.00 141.00 OK
r-oldrel-macos-arm64 0.1.2 OK
r-oldrel-macos-x86_64 0.1.2 5.00 154.00 159.00 OK
r-oldrel-windows-x86_64 0.1.2 12.00 167.00 179.00 OK

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [29s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(contdid) > > test_check("contdid") Saving _problems/test-cont_did-54.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cont_did.R:37:3'): test basic functionality ──────────────────── Error: D must contain only 0 (comparison) and 1 (treated). Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-cont_did.R:37:3 2. │ └─base::withCallingHandlers(...) 3. └─contdid::cont_did(...) 4. └─ptetools::pte(...) 5. └─ptetools::compute.pte(...) 6. └─ptetools (local) attgt_fun(gt_data = gt_data, ...) 7. └─DRDID::drdid_panel(...) 8. └─DRDID:::validate_treatment_indicator(D) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64