{
  "_id": "6ab7957a99f7aa8c6aa3280e",
  "Package": "optweight",
  "Type": "Package",
  "Title": "Optimization-Based Stable Balancing Weights",
  "Version": "2.0.1.9000",
  "Authors@R": "c(\nperson(\"Noah\", \"Greifer\", role = c(\"aut\", \"cre\"),\nemail = \"noah.greifer@gmail.com\",\ncomment=c(ORCID=\"0000-0003-3067-7154\"))\n)",
  "Description": "Use optimization to estimate weights that balance\ncovariates for binary, multi-category, continuous, and\nmultivariate treatments in the spirit of Zubizarreta (2015)\n<doi:10.1080/01621459.2015.1023805>. The degree of balance can\nbe specified for each covariate. In addition, sampling weights\ncan be estimated that allow a sample to generalize to a\npopulation specified with given target moments of covariates,\nas in matching-adjusted indirect comparison (MAIC).",
  "License": "GPL",
  "Encoding": "UTF-8",
  "URL": "https://ngreifer.github.io/optweight/,\nhttps://github.com/ngreifer/optweight",
  "BugReports": "https://github.com/ngreifer/optweight/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Remotes": [
    "ngreifer/arg"
  ],
  "Config/pak/sysreqs": "make",
  "Repository": "https://ngreifer.r-universe.dev",
  "Date/Publication": "2026-06-08 20:46:28 UTC",
  "RemoteUrl": "https://github.com/ngreifer/optweight",
  "RemoteRef": "HEAD",
  "RemoteSha": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-26 09:47:30 UTC",
    "User": "root"
  },
  "Author": "Noah Greifer [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3067-7154>)",
  "Maintainer": "Noah Greifer <noah.greifer@gmail.com>",
  "_user": "ngreifer",
  "_type": "src",
  "_file": "optweight_2.0.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/38c5aaeffc9153e275e7e4f092cafe600b58880fb9cc8c9fd9ad5a1fc3a9c74c",
  "_filesize": 695146,
  "_sha256": "38c5aaeffc9153e275e7e4f092cafe600b58880fb9cc8c9fd9ad5a1fc3a9c74c",
  "_expires": "2027-01-04T09:50:48.000Z",
  "_created": "2026-09-26T09:47:30.000Z",
  "_published": "2026-09-26T09:50:50.440Z",
  "_jobs": [
    {
      "job": 108381939661,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10903766366"
    },
    {
      "job": 108381939650,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10903292216"
    },
    {
      "job": 108381939663,
      "time": 153,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10903278349"
    },
    {
      "job": 108381939656,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10903721648"
    },
    {
      "job": 108381423576,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10903472887"
    },
    {
      "job": 108381939622,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10903506910"
    },
    {
      "job": 108381939664,
      "time": 97,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10903336991"
    },
    {
      "job": 108381939666,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10903576850"
    },
    {
      "job": 108381939695,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10902969144"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172",
  "_status": "failure",
  "_upstream": "https://github.com/ngreifer/optweight",
  "_commit": {
    "id": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
    "author": "Noah Greifer <noah.greifer@gmail.com>",
    "committer": "Noah Greifer <noah.greifer@gmail.com>",
    "message": "Cleaning\n",
    "time": 1780951588
  },
  "_maintainer": {
    "name": "Noah Greifer",
    "email": "noah.greifer@gmail.com",
    "login": "ngreifer",
    "twitter": "@noah_greifer",
    "description": "Data Science Specialist at Harvard University Institute for Quantitative Social Science (IQSS)",
    "uuid": 20465600,
    "orcid": "0000-0003-3067-7154"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "osqp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "arg",
      "version": ">= 0.1.0.9000",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.6",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.5",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.2-13",
      "role": "Imports"
    },
    {
      "package": "collapse",
      "version": ">= 2.1.5",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "cobalt",
      "version": ">= 4.6.0",
      "role": "Suggests"
    },
    {
      "package": "scs",
      "version": ">= 3.2.7",
      "role": "Suggests"
    },
    {
      "package": "clarabel",
      "version": ">= 0.10.1",
      "role": "Suggests"
    },
    {
      "package": "highs",
      "version": ">= 1.10.0-3",
      "role": "Suggests"
    },
    {
      "package": "lpSolve",
      "version": ">= 5.6.23",
      "role": "Suggests"
    },
    {
      "package": "WeightIt",
      "role": "Suggests"
    },
    {
      "package": "gbm",
      "role": "Suggests"
    },
    {
      "package": "marginaleffects",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    },
    {
      "package": "fwb",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ngreifer",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 9
    },
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 3
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "causal-inference",
    "inverse-probability-weights",
    "observational-study",
    "optimization",
    "propensity-scores"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "ngreifer",
      "count": 230,
      "uuid": 20465600
    }
  ],
  "_userbio": {
    "uuid": 20465600,
    "type": "user",
    "name": "Noah Greifer",
    "followers": 195,
    "description": "Data Science Specialist at Harvard University Institute for Quantitative Social Science (IQSS)"
  },
  "_downloads": {
    "count": 2172,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optweight"
  },
  "_devurl": "https://github.com/ngreifer/optweight",
  "_pkgdown": "https://ngreifer.github.io/optweight/",
  "_searchresults": 36,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/optweight.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ngreifer/optweight",
  "_realowner": "ngreifer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-09-21"
    },
    {
      "version": "0.2.0",
      "date": "2018-10-17"
    },
    {
      "version": "0.2.1",
      "date": "2019-01-16"
    },
    {
      "version": "0.2.2",
      "date": "2019-03-04"
    },
    {
      "version": "0.2.3",
      "date": "2019-08-26"
    },
    {
      "version": "0.2.4",
      "date": "2019-09-03"
    },
    {
      "version": "0.2.5",
      "date": "2019-09-16"
    },
    {
      "version": "1.0.0",
      "date": "2025-09-09"
    },
    {
      "version": "2.0.0",
      "date": "2026-01-24"
    },
    {
      "version": "2.0.1",
      "date": "2026-03-19"
    }
  ],
  "_exports": [
    "check.targets",
    "check.tols",
    "optweight",
    "optweight.fit",
    "optweight.svy",
    "optweight.svy.fit",
    "optweightMV",
    "optweightMV.fit",
    "process_targets",
    "process_tols"
  ],
  "_help": [
    {
      "page": "optweight",
      "title": "Stable Balancing Weights",
      "topics": [
        "optweight",
        "optweight.fit"
      ]
    },
    {
      "page": "optweight.svy",
      "title": "Stable Balancing Weights for Generalization",
      "topics": [
        "optweight.svy",
        "optweight.svy.fit"
      ]
    },
    {
      "page": "optweightMV",
      "title": "Stable Balancing Weights for Multivariate Treatments",
      "topics": [
        "optweightMV",
        "optweightMV.fit"
      ]
    },
    {
      "page": "plot.optweight",
      "title": "Plot Dual Variables for Covariate Constraints",
      "topics": [
        "plot.optweight",
        "plot.optweight.svy",
        "plot.optweightMV"
      ]
    },
    {
      "page": "process_targets",
      "title": "Construct and Check Targets Input",
      "topics": [
        "check.targets",
        "print.optweight.targets",
        "process_targets"
      ]
    },
    {
      "page": "process_tols",
      "title": "Construct and Check Tolerance Input",
      "topics": [
        "check.tols",
        "print.optweight.tols",
        "process_tols"
      ]
    },
    {
      "page": "summary.optweight",
      "title": "Summarize, Print, and Plot Information about Estimated Weights",
      "topics": [
        "plot.summary.optweight",
        "summary.optweight",
        "summary.optweight.svy",
        "summary.optweightMV"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ngreifer/optweight/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ngreifer/optweight/raw/HEAD/README.md",
  "_rundeps": [
    "arg",
    "cli",
    "collapse",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "osqp",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 5.370283576403759,
  "_indexed": true,
  "_nocasepkg": "optweight",
  "_universes": [
    "ngreifer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:49:58.000Z",
      "distro": "resolute",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/c0ce794f557b2442434a1ab4807acb23cea497cd552f30dad4bda892b88e8e22",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:49:52.000Z",
      "distro": "resolute",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/3255b5f5b74d0f7fabed00f2b666551d5dcda2e8d7631f7b3111a6d84ee6a4af",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:50:04.000Z",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/f02cd4d6cdfd622b03478c243a204359abc5777a2e971a9eb0cbc925d2c86f78",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:49:40.000Z",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/9edf12baa0cff04d3b826b10d36642ddd7302af9f7ec60b073ee56e45a72c672",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:49:56.000Z",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/04ef977cbf8327dabe2509f09ce93e81738b5c994702acb1b7f4969afe09ce3d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:48:50.000Z",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/b22d4a850daa52dbc95e4c675f196f614f88da2ba240fe64ac56492922832bae",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:49:18.000Z",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/824128bde666614b27f3b3581169d3e1fe4942cd094b65e85b1b73b5b08fcdd2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.1.9000",
      "date": "2026-09-26T09:48:42.000Z",
      "commit": "4272a40b9df4517c800e3f11f111eb82e009ffa2",
      "fileid": "https://r2.ropensci.org/77450ca515aede3d83240c8f78174cafd2b7cab310a103f5c4f88cf25d270050",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/36233628172"
    }
  ]
}