CRAN Package Check Results for Package WeightIt

Last updated on 2025-09-10 03:51:02 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.0 22.35 550.22 572.57 OK
r-devel-linux-x86_64-debian-gcc 1.4.0 12.97 373.90 386.87 ERROR
r-devel-linux-x86_64-fedora-clang 1.4.0 878.61 ERROR
r-devel-linux-x86_64-fedora-gcc 1.4.0 870.20 ERROR
r-devel-windows-x86_64 1.4.0 20.00 497.00 517.00 OK
r-patched-linux-x86_64 1.4.0 27.50 489.58 517.08 OK
r-release-linux-x86_64 1.4.0 19.79 491.52 511.31 OK
r-release-macos-arm64 1.4.0 265.00 OK
r-release-macos-x86_64 1.4.0 494.00 OK
r-release-windows-x86_64 1.4.0 24.00 531.00 555.00 OK
r-oldrel-macos-arm64 1.4.0 180.00 OK
r-oldrel-macos-x86_64 1.4.0 427.00 OK
r-oldrel-windows-x86_64 1.4.0 31.00 672.00 703.00 OK

Check Details

Version: 1.4.0
Check: examples
Result: ERROR Running examples in ‘WeightIt-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: method_optweight > ### Title: Optimization-Based Weighting > ### Aliases: method_optweight > > ### ** Examples > > ## Don't show: > if (all(sapply(c("optweight", "osqp"), requireNamespace, quietly = TRUE))) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + data("lalonde", package = "cobalt") + + #Balancing covariates between treatment groups (binary) + (W1 <- weightit(treat ~ age + educ + married + + nodegree + re74, data = lalonde, + method = "optweight", estimand = "ATT", + tols = 0)) + summary(W1) + cobalt::bal.tab(W1) + plot(W1) + + #Balancing covariates with respect to race (multi-category) + (W2 <- weightit(race ~ age + educ + married + + nodegree + re74, data = lalonde, + method = "optweight", estimand = "ATE", + tols = .01)) + summary(W2) + cobalt::bal.tab(W2) + plot(W2) + + #Balancing covariates with respect to re75 (continuous) + ## Don't show: + }) # examplesIf > data("lalonde", package = "cobalt") > (W1 <- weightit(treat ~ age + educ + married + nodegree + re74, data = lalonde, + method = "optweight", estimand = "ATT", tols = 0)) Error in process_tols(...) : unused argument (stop = TRUE) Calls: <Anonymous> ... weightit.fit -> do.call -> weightit2optweight -> <Anonymous> Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed calibrate 3.174 0.054 5.237 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.4.0
Check: examples
Result: ERROR Running examples in ‘WeightIt-Ex.R’ failed The error most likely occurred in: > ### Name: method_optweight > ### Title: Optimization-Based Weighting > ### Aliases: method_optweight > > ### ** Examples > > ## Don't show: > if (all(sapply(c("optweight", "osqp"), requireNamespace, quietly = TRUE))) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + data("lalonde", package = "cobalt") + + #Balancing covariates between treatment groups (binary) + (W1 <- weightit(treat ~ age + educ + married + + nodegree + re74, data = lalonde, + method = "optweight", estimand = "ATT", + tols = 0)) + summary(W1) + cobalt::bal.tab(W1) + plot(W1) + + #Balancing covariates with respect to race (multi-category) + (W2 <- weightit(race ~ age + educ + married + + nodegree + re74, data = lalonde, + method = "optweight", estimand = "ATE", + tols = .01)) + summary(W2) + cobalt::bal.tab(W2) + plot(W2) + + #Balancing covariates with respect to re75 (continuous) + ## Don't show: + }) # examplesIf > data("lalonde", package = "cobalt") > (W1 <- weightit(treat ~ age + educ + married + nodegree + re74, data = lalonde, + method = "optweight", estimand = "ATT", tols = 0)) Error in process_tols(...) : unused argument (stop = TRUE) Calls: <Anonymous> ... weightit.fit -> do.call -> weightit2optweight -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc