CRAN Package Check Results for Maintainer ‘Noah Greifer <ngreifer at iq.harvard.edu>’

Last updated on 2025-08-29 13:50:00 CEST.

Package ERROR OK
clarify 2 11
lmw 13

Package clarify

Current CRAN status: ERROR: 2, OK: 11

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

Package lmw

Current CRAN status: OK: 13