CRAN Package Check Results for Package contdid

Last updated on 2026-10-22 23:56:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 8.36 114.99 123.35 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 5.31 78.22 83.53 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 72.87 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 68.33 ERROR
r-devel-windows-x86_64 0.1.1 11.00 127.00 138.00 OK
r-patched-linux-x86_64 0.1.1 7.49 105.07 112.56 OK
r-release-linux-x86_64 0.1.1 7.51 105.28 112.79 OK
r-release-macos-arm64 0.1.1 2.00 35.00 37.00 OK
r-release-macos-x86_64 0.1.1 6.00 174.00 180.00 OK
r-release-windows-x86_64 0.1.1 10.00 125.00 135.00 OK
r-oldrel-macos-arm64 0.1.1 2.00 39.00 41.00 OK
r-oldrel-macos-x86_64 0.1.1 6.00 178.00 184.00 OK
r-oldrel-windows-x86_64 0.1.1 13.00 154.00 167.00 OK

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/26s] 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-linux-x86_64-fedora-clang

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/20s] 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-linux-x86_64-fedora-gcc