Package: balancing Title: Optimization-Based Balancing Weights for Causal Inference Version: 0.0.0.9000 Authors@R: c( person("Malcolm", "Barrett", , "malcolmbarrett@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0003-0299-5825")), person("The authors of the vendored Rust crates", role = "cph", comment = "see src/rust/Cargo.lock and the bundled crate sources for the full list") ) Description: Calculates optimization-based balancing weights for causal inference, including entropy balancing, inverse probability tilting, the covariate balancing propensity score, energy balancing, characteristic function distance balancing, and stable balancing weights. Weights target covariate balance directly by solving a convex optimization problem, with support for binary, categorical, and continuous exposures across a range of causal estimands. A Rust core provides the numerical solvers. License: MIT + file LICENSE URL: https://r-causal.github.io/balancing/, https://github.com/r-causal/balancing BugReports: https://github.com/r-causal/balancing/issues Depends: R (>= 4.3) Imports: causalgenerics (>= 0.1.0.9000), cli, deli, parallel, rlang, S7, stats, tidyselect (>= 1.2.0), vctrs Suggests: halfmoon, knitr, MASS, mice, optweight, osqp, pkgload, propensity (>= 0.1.0.9000), quadprog, rmarkdown, testthat (>= 3.0.0), WeightIt, withr VignetteBuilder: knitr Remotes: r-causal/causalgenerics, r-causal/deli, r-causal/propensity Config/roxygen2/version: 8.1.0 Config/testthat/edition: 3 Encoding: UTF-8 Language: en-US Roxygen: list(markdown = TRUE) SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.88), GNU make, xz, cmake Config/pak/sysreqs: cmake make xz-utils libclang-dev Repository: https://r-causal.r-universe.dev Date/Publication: 2026-10-04 21:34:28 UTC RemoteUrl: https://github.com/r-causal/balancing RemoteRef: HEAD RemoteSha: 1b40fcb2779daa83d18ad45fb316c46a6f1ff444 NeedsCompilation: yes Packaged: 2026-11-03 13:36:31 UTC; root Author: Malcolm Barrett [aut, cre, cph] (ORCID: ), The authors of the vendored Rust crates [cph] (see src/rust/Cargo.lock and the bundled crate sources for the full list) Maintainer: Malcolm Barrett