CRAN Package Check Results for Package clarify

Last updated on 2025-08-29 04:50:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 8.49 375.09 383.58 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 5.17 228.16 233.33 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 649.94 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.1 647.10 ERROR
r-devel-windows-x86_64 0.2.1 10.00 319.00 329.00 OK
r-patched-linux-x86_64 0.2.1 7.36 358.67 366.03 OK
r-release-linux-x86_64 0.2.1 7.86 355.23 363.09 OK
r-release-macos-arm64 0.2.1 200.00 OK
r-release-macos-x86_64 0.2.1 321.00 OK
r-release-windows-x86_64 0.2.1 10.00 313.00 323.00 OK
r-oldrel-macos-arm64 0.2.1 129.00 OK
r-oldrel-macos-x86_64 0.2.1 344.00 OK
r-oldrel-windows-x86_64 0.2.1 12.00 458.00 470.00 OK

Additional issues

M1mac

Check Details

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [93s/183s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(clarify) > > test_check("clarify") [ FAIL 3 | WARN 1 | SKIP 7 | PASS 4759 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • !file.exists(test_path("fixtures", "mimira.rds")) is TRUE (1): 'test-misim.R:124:3' • 'estimatr' has problems with model.frame.iv_robust(), which causes an error with insight::get_data(). (1): 'test-sim_ame.R:594:3' • On CRAN (4): 'test-sim.R:659:3', 'test-sim.R:729:3', 'test-sim_ame.R:671:3', 'test-sim_ame.R:750:3' • predict() is bugged for glmRob() (1): 'test-sim_ame.R:1390:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sim.R:231:3'): sim() works with betareg::betareg() ─────────── colnames(s$sim.coefs) (`actual`) not equal to c(...) (`expected`). actual | expected [5] "racehispan" | "racehispan" [5] [6] "racewhite" | "racewhite" [6] [7] "re74" | "re74" [7] [8] "(Intercept)" - "(phi)_(Intercept)" [8] [9] "treat" - "(phi)_treat" [9] [10] "age" - "(phi)_age" [10] ── Error ('test-sim_ame.R:317:3'): sim_ame() works with MASS::polr() ─────────── Error in `sim_ame(s, "treat", contrast = "diff", type = "mean", verbose = FALSE)`: Not all units received a predicted value, suggesting a bug. Backtrace: ▆ 1. └─clarify::sim_ame(...) at test-sim_ame.R:317:3 2. └─clarify:::.err("not all units received a predicted value, suggesting a bug") 3. └─chk::err(..., call = pkg_caller_call(start = 2)) 4. └─rlang::abort(msg, class = class, !!!args[named], call = call) ── Error ('test-sim_ame.R:369:3'): sim_ame() works with betareg::betareg() ───── Error in `sim_ame(s, "treat", verbose = FALSE)`: `FUN` failed to run on an initial check with the following error: Predicted values could not be extracted from the model. Backtrace: ▆ 1. └─clarify::sim_ame(s, "treat", verbose = FALSE) at test-sim_ame.R:369:3 2. └─clarify::sim_apply(sim, FUN = FUN, verbose = verbose, cl = cl) 3. └─clarify:::.err(...) 4. └─chk::err(..., call = pkg_caller_call(start = 2)) 5. └─rlang::abort(msg, class = class, !!!args[named], call = call) [ FAIL 3 | WARN 1 | SKIP 7 | PASS 4759 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [90s/238s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(clarify) > > test_check("clarify") [ FAIL 3 | WARN 1 | SKIP 7 | PASS 4759 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • !file.exists(test_path("fixtures", "mimira.rds")) is TRUE (1): 'test-misim.R:124:3' • 'estimatr' has problems with model.frame.iv_robust(), which causes an error with insight::get_data(). (1): 'test-sim_ame.R:594:3' • On CRAN (4): 'test-sim.R:659:3', 'test-sim.R:729:3', 'test-sim_ame.R:671:3', 'test-sim_ame.R:750:3' • predict() is bugged for glmRob() (1): 'test-sim_ame.R:1390:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sim.R:231:3'): sim() works with betareg::betareg() ─────────── colnames(s$sim.coefs) (`actual`) not equal to c(...) (`expected`). actual | expected [5] "racehispan" | "racehispan" [5] [6] "racewhite" | "racewhite" [6] [7] "re74" | "re74" [7] [8] "(Intercept)" - "(phi)_(Intercept)" [8] [9] "treat" - "(phi)_treat" [9] [10] "age" - "(phi)_age" [10] ── Error ('test-sim_ame.R:317:3'): sim_ame() works with MASS::polr() ─────────── Error in `sim_ame(s, "treat", contrast = "diff", type = "mean", verbose = FALSE)`: Not all units received a predicted value, suggesting a bug. Backtrace: ▆ 1. └─clarify::sim_ame(...) at test-sim_ame.R:317:3 2. └─clarify:::.err("not all units received a predicted value, suggesting a bug") 3. └─chk::err(..., call = pkg_caller_call(start = 2)) 4. └─rlang::abort(msg, class = class, !!!args[named], call = call) ── Error ('test-sim_ame.R:369:3'): sim_ame() works with betareg::betareg() ───── Error in `sim_ame(s, "treat", verbose = FALSE)`: `FUN` failed to run on an initial check with the following error: Predicted values could not be extracted from the model. Backtrace: ▆ 1. └─clarify::sim_ame(s, "treat", verbose = FALSE) at test-sim_ame.R:369:3 2. └─clarify::sim_apply(sim, FUN = FUN, verbose = verbose, cl = cl) 3. └─clarify:::.err(...) 4. └─chk::err(..., call = pkg_caller_call(start = 2)) 5. └─rlang::abort(msg, class = class, !!!args[named], call = call) [ FAIL 3 | WARN 1 | SKIP 7 | PASS 4759 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc