Last updated on 2026-03-02 11:51:32 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.5.1 | 21.64 | 569.84 | 591.48 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.5.1 | 14.87 | 403.13 | 418.00 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.5.1 | 36.00 | 799.34 | 835.34 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.5.1 | 40.00 | 892.94 | 932.94 | ERROR | |
| r-devel-macos-arm64 | 1.5.1 | 5.00 | 108.00 | 113.00 | OK | |
| r-devel-windows-x86_64 | 1.5.1 | 23.00 | 553.00 | 576.00 | OK | |
| r-patched-linux-x86_64 | 1.5.1 | 26.52 | 520.22 | 546.74 | OK | |
| r-release-linux-x86_64 | 1.5.1 | 22.86 | 513.31 | 536.17 | OK | |
| r-release-macos-arm64 | 1.5.0 | 8.00 | 106.00 | 114.00 | OK | |
| r-release-macos-x86_64 | 1.5.1 | 16.00 | 556.00 | 572.00 | OK | |
| r-release-windows-x86_64 | 1.5.1 | 24.00 | 528.00 | 552.00 | OK | |
| r-oldrel-macos-arm64 | 1.5.1 | 5.00 | 123.00 | 128.00 | WARN | |
| r-oldrel-macos-x86_64 | 1.5.1 | 17.00 | 620.00 | 637.00 | OK | |
| r-oldrel-windows-x86_64 | 1.5.1 | 31.00 | 715.00 | 746.00 | OK |
Version: 1.5.1
Check: examples
Result: ERROR
Running examples in ‘WeightIt-Ex.R’ failed
The error most likely occurred in:
> ### Name: method_energy
> ### Title: Energy Balancing
> ### Aliases: method_energy
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("osqp")) withAutoprint({ # 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 = "energy", estimand = "ATE"))
+
+ summary(W1)
+
+ cobalt::bal.tab(W1)
+
+ #Balancing covariates with respect to race (multi-category)
+ (W2 <- weightit(race ~ age + educ + married +
+ nodegree + re74, data = lalonde,
+ method = "energy", estimand = "ATT",
+ focal = "black"))
+
+ summary(W2)
+
+ cobalt::bal.tab(W2)
+
+ ## Don't show:
+ }) # examplesIf
> data("lalonde", package = "cobalt")
> (W1 <- weightit(treat ~ age + educ + married + nodegree + re74, data = lalonde,
+ method = "energy", estimand = "ATE"))
Warning: ! The `polish` argument is deprecated.
ℹ Use `polishing` instead.
Error in eval(ei, envir) :
OSQP setup failed with error code 2: Solver settings validation.
Calls: withAutoprint ... <Anonymous> -> withVisible -> <Anonymous> -> osqp -> osqpSetup
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.5.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [7m/11m]
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(WeightIt)
>
> test_check("WeightIt")
Saving _problems/test-moments-26.R
Saving _problems/test-moments-34.R
Saving _problems/test-moments-90.R
Saving _problems/test-moments-98.R
[ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-method_cbps.R:2:3', 'test-method_cbps.R:108:3',
'test-method_cbps.R:197:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-moments.R:21:5'): moments works as expected, binary ──────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
── Failure ('test-moments.R:30:5'): moments works as expected, binary ──────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
── Failure ('test-moments.R:85:5'): moments works as expected, multi ───────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
── Failure ('test-moments.R:94:5'): moments works as expected, multi ───────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
[ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.5.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8m/17m]
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(WeightIt)
>
> test_check("WeightIt")
Saving _problems/test-moments-26.R
Saving _problems/test-moments-34.R
Saving _problems/test-moments-90.R
Saving _problems/test-moments-98.R
[ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-method_cbps.R:2:3', 'test-method_cbps.R:108:3',
'test-method_cbps.R:197:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-moments.R:21:5'): moments works as expected, binary ──────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
── Failure ('test-moments.R:30:5'): moments works as expected, binary ──────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
── Failure ('test-moments.R:85:5'): moments works as expected, multi ───────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
── Failure ('test-moments.R:94:5'): moments works as expected, multi ───────────
Expected `{ ... }` not to throw any conditions.
Actually got a <simpleWarning> with message:
! The `polish` argument is deprecated.
i Use `polishing` instead.
[ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.5.1
Check: PDF version of manual
Result: WARN
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Infinite glue shrinkage found in box being split.
<argument> Infinite shrink error above ignored !
l.5017 }
Flavor: r-oldrel-macos-arm64