{
  "_id": "6a1feab3b401979e7343f7bc",
  "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-06-03 08:45:26 UTC",
    "User": "root"
  },
  "Author": "Katherine Brumberg [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5193-6250>)",
  "Maintainer": "Katherine Brumberg <kbrum@umich.edu>",
  "MD5sum": "0b53184a9f952573ffb986920ee9d3a2",
  "_user": "kkbrum",
  "_type": "src",
  "_file": "optrefine_1.1.1.tar.gz",
  "_fileid": "55bc2b35ed2ba3f5934e759a3ef047fb652cb9ccac292380d67fd256a2f1c609",
  "_filesize": 348712,
  "_sha256": "55bc2b35ed2ba3f5934e759a3ef047fb652cb9ccac292380d67fd256a2f1c609",
  "_created": "2026-06-03T08:45:26.000Z",
  "_published": "2026-06-03T08:49:55.246Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79255854222,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379862811"
    },
    {
      "job": 79255854300,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379865949"
    },
    {
      "job": 79255854291,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379871243"
    },
    {
      "job": 79255854297,
      "time": 204,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379881449"
    },
    {
      "job": 79255371608,
      "time": 167,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379810729"
    },
    {
      "job": 79255854456,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379854475"
    },
    {
      "job": 79255854317,
      "time": 121,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379855414"
    },
    {
      "job": 79255854328,
      "time": 137,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379861102"
    },
    {
      "job": 79255854263,
      "time": 124,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379857408"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 152,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optrefine"
  },
  "_devurl": "https://github.com/kkbrum/optrefine",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/optrefine.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-06-03T08:47:28.000Z",
      "distro": "noble",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "ead5b4b30ee7b4908559926c31f3d55dc14b90312b012d17f69c7b904d287972",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-06-03T08:47:35.000Z",
      "distro": "noble",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "5f2ef3caffe5cfce09cd4e730dc5594da23c7bca572429643109d28db3ced6f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-03T08:48:00.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "aabf9ecdf95cbc782577cd1240e9059eabfde0e3ddfdf42956cbb750daba9fdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-03T08:48:23.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "29ca7f352161152b209983979664c80f48ecd2cdff4b312d85fafb054d2810d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-06-03T08:47:43.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "4d82ebc8b1ee45334aeb67e305cdb8eecf78e7db601aa3d54d4cefaa1eda2bd9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-03T08:46:58.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "0800db527cd22fc456714772d9aec88c20efc685067f366acd6e774ad317db2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-03T08:47:13.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "1a65eaa9403a552ebd2a25cfab54379e5323793dc038372a1f19dc7cd1ce2888",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-03T08:47:01.000Z",
      "commit": "79aec23255c8f0fc98143296ff03cabafc80939b",
      "fileid": "fcbd3dbd18e817f09aeeda1f05e8c7ceba67fd197eb07f18eb9d88ce07cfb220",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkbrum/actions/runs/26873706936"
    }
  ]
}