{
  "_id": "6acb716afe5cc25786e90262",
  "Package": "optrefine",
  "Title": "Optimally Refine Strata",
  "Version": "1.1.1",
  "Authors@R": "person(\"Katherine\", \"Brumberg\", , \"kbrum@umich.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5193-6250\"))",
  "Description": "Splits initial strata into refined strata that optimize\ncovariate balance. For more information, please see Brumberg,\nSmall, and Rosenbaum (2024) <doi:10.1093/biomtc/ujae061>. To\nsolve the linear program, the 'Gurobi' commercial optimization\nsoftware is recommended, but not required. The 'gurobi' R\npackage can be installed following the instructions at\n<https://docs.gurobi.com/projects/optimizer/en/current/reference/r/setup.html>\nafter claiming your free academic license at\n<https://www.gurobi.com/academia/academic-program-and-licenses/>.",
  "URL": "https://github.com/kkbrum/optrefine,\nhttps://kkbrum.github.io/optrefine/",
  "BugReports": "https://github.com/kkbrum/optrefine/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "Config/pak/sysreqs": "libglpk-dev",
  "Repository": "https://kkbrum.r-universe.dev",
  "Date/Publication": "2026-02-03 19:04:12 UTC",
  "RemoteUrl": "https://github.com/kkbrum/optrefine",
  "RemoteRef": "HEAD",
  "RemoteSha": "79aec23255c8f0fc98143296ff03cabafc80939b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 11:19:14 UTC",
    "User": "root"
  },
  "Author": "Katherine Brumberg [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5193-6250>)",
  "Maintainer": "Katherine Brumberg <kbrum@umich.edu>",
  "_user": "kkbrum",
  "_type": "src",
  "_file": "optrefine_1.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/ad7ac243971050ec70665a2f71c65b9b482d9227e4d8fd8497d2a034f2f3946d",
  "_filesize": 349038,
  "_sha256": "ad7ac243971050ec70665a2f71c65b9b482d9227e4d8fd8497d2a034f2f3946d",
  "_expires": "2027-01-19T11:22:16.000Z",
  "_created": "2026-10-11T11:19:14.000Z",
  "_published": "2026-10-11T11:22:18.422Z",
  "_buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114457353001,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11700448183"
    },
    {
      "job": 114457352984,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700977012"
    },
    {
      "job": 114457352978,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11700318317"
    },
    {
      "job": 114457352986,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11701066522"
    },
    {
      "job": 114456934695,
      "time": 142,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699914095"
    },
    {
      "job": 114457352962,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11699934218"
    },
    {
      "job": 114457353038,
      "time": 107,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11700737429"
    },
    {
      "job": 114457353003,
      "time": 98,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11700962005"
    },
    {
      "job": 114457353032,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700253666"
    }
  ],
  "_upstream": "https://github.com/kkbrum/optrefine",
  "_commit": {
    "id": "79aec23255c8f0fc98143296ff03cabafc80939b",
    "author": "Katherine <kbrum@umich.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Remove test coverage badge from README\n\nRemoved test coverage badge from README.",
    "time": 1770145452
  },
  "_maintainer": {
    "name": "Katherine Brumberg",
    "email": "kbrum@umich.edu",
    "login": "kkbrum",
    "description": "",
    "uuid": 25392075,
    "orcid": "0000-0002-5193-6250"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "Rglpk",
      "role": "Depends"
    },
    {
      "package": "sampling",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "gurobi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "kkbrum",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-06",
      "n": 9
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "kkbrum",
      "count": 40,
      "uuid": 25392075
    }
  ],
  "_userbio": {
    "uuid": 25392075,
    "type": "user",
    "name": "Katherine",
    "followers": 12
  },
  "_downloads": {
    "count": 254,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optrefine"
  },
  "_devurl": "https://github.com/kkbrum/optrefine",
  "_searchresults": 2,
  "_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/optrefine.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/kkbrum/optrefine",
  "_realowner": "kkbrum",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-11-08"
    },
    {
      "version": "1.1.0",
      "date": "2023-04-18"
    },
    {
      "version": "1.1.1",
      "date": "2026-02-03"
    }
  ],
  "_exports": [
    "best_split",
    "calc_smds",
    "prop_strat",
    "rand_pvals",
    "refine",
    "split_stratum",
    "strat",
    "table_rand_pvals"
  ],
  "_datasets": [
    {
      "name": "rhc_X",
      "title": "Right Heart Catheterization Data",
      "object": "rhc_X",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "aps1",
        "surv2md1",
        "age",
        "NumComorbid",
        "adld3p_impute",
        "adld3p_na",
        "das2d3pc",
        "temp1",
        "hrt1",
        "meanbp1",
        "resp1",
        "wblc1",
        "pafi1",
        "paco21",
        "ph1",
        "crea1",
        "alb1",
        "scoma1",
        "cat1_copd",
        "cat1_mosfsep",
        "cat1_mosfmal",
        "cat1_chf",
        "cat1_coma",
        "cat1_cirr",
        "cat1_lung",
        "cat1_colon",
        "pr",
        "z"
      ],
      "rows": 5735,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "best_split",
      "title": "Find the best split for a stratum",
      "topics": [
        "best_split"
      ]
    },
    {
      "page": "calc_smds",
      "title": "Calculate standardized mean differences for initial and refined strata",
      "topics": [
        "calc_smds"
      ]
    },
    {
      "page": "new_strat",
      "title": "Constructor for object of class \"strat\"",
      "topics": [
        "new_strat"
      ]
    },
    {
      "page": "plot.strat",
      "title": "Plot diagnostics for a \"strat\" object",
      "topics": [
        "plot.strat"
      ]
    },
    {
      "page": "print.strat",
      "title": "Print stratification object",
      "topics": [
        "print.strat"
      ]
    },
    {
      "page": "prop_strat",
      "title": "Form propensity score strata",
      "topics": [
        "prop_strat"
      ]
    },
    {
      "page": "rand_pvals",
      "title": "Generate P-values using empirical randomization null distribution",
      "topics": [
        "rand_pvals"
      ]
    },
    {
      "page": "refine",
      "title": "Refine initial stratification",
      "topics": [
        "refine"
      ]
    },
    {
      "page": "rhc_X",
      "title": "Right Heart Catheterization Data",
      "topics": [
        "rhc_X"
      ]
    },
    {
      "page": "split_stratum",
      "title": "Split one stratum into multiple strata",
      "topics": [
        "split_stratum"
      ]
    },
    {
      "page": "strat",
      "title": "Helper for object of class \"strat\"",
      "topics": [
        "strat"
      ]
    },
    {
      "page": "table_rand_pvals",
      "title": "Generate a covariate balance table from the empirical randomization null distribution",
      "topics": [
        "table_rand_pvals"
      ]
    },
    {
      "page": "validate_strat",
      "title": "Validator for object of class \"strat\"",
      "topics": [
        "validate_strat"
      ]
    }
  ],
  "_readme": "https://github.com/kkbrum/optrefine/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "lpSolve",
    "MASS",
    "R6",
    "RColorBrewer",
    "Rglpk",
    "rlang",
    "S7",
    "sampling",
    "scales",
    "slam",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "optrefine",
  "_universes": [
    "kkbrum"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-10-11T11:21:04.000Z",
      "distro": "resolute",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/91106a0a5f638b43f8dc771a3fc5025621c83a431f25eb6a605b8f625fd5766c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-10-11T11:21:12.000Z",
      "distro": "resolute",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/089681bffe075922be85a6dbac29ecc9c8b8a6feba7c279733ad90f6954648c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-10-11T11:21:05.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/a131ea1b0da1636bcfb5e0170ef13c5f2be52ebbc6d5a6af82c20f3dc820bb3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-10-11T11:21:12.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/177bf55dd9a289b18dee60769e24d0bd2972b9c6cf82045df4d8f72cf772e071",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-10-11T11:21:08.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/5d403517d0987d119cf93d8171e734b2d6551a191d031781caf4abb6d35ad90a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-10-11T11:20:26.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/62dd8d4aa9d4854867928cd27c328f450fc36606d4f7947d4b18f2a49e1f3196",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-10-11T11:20:22.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/c96bcfc2979bb17bb776b006e8edff939d9ca2933cea4705ec6fa1a143422923",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-10-11T11:20:19.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "https://r2.ropensci.org/70d2b0ff5951b2b58c4f81234500b7a794b7abbce6a4c95858d0ddbdd9f89e4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/38134977480"
    }
  ]
}