{
  "_id": "6acca9d1a14063b82c3a792e",
  "Package": "RItools",
  "Version": "0.3-5",
  "Title": "Randomization Inference Tools",
  "Authors@R": "c(person(\"Jake\", \"Bowers\", role = c(\"aut\", \"cre\"), email = \"jwbowers@illinois.edu\"),\nperson(\"Mark\", \"Fredrickson\", role = \"aut\", email = \"mark.m.fredrickson@gmail.com\"),\nperson(\"Ben\", \"Hansen\", role = \"aut\", email = \"ben.hansen@umich.edu\"),\nperson(\"Josh\", \"Errickson\", role = \"ctb\", email = \"jerrick@umich.edu\"))",
  "Description": "Tools for randomization-based inference. Current focus is\non the d^2 omnibus test of differences of means following\nHansen and Bowers (2008) <doi:10.1214/08-STS254> . This test is\nuseful for assessing balance in matched observational studies\nor for analysis of outcomes in block-randomized experiments.",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "URL": "https://cran.r-project.org/package=RItools",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-12 09:30:36 UTC",
    "User": "root"
  },
  "Author": "Jake Bowers [aut, cre], Mark Fredrickson [aut], Ben Hansen\n[aut], Josh Errickson [ctb]",
  "Maintainer": "Jake Bowers <jwbowers@illinois.edu>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://jwbowers.r-universe.dev",
  "Date/Publication": "2025-05-17 13:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/RItools",
  "RemoteRef": "HEAD",
  "RemoteSha": "7960ec62d591c604ee43a537c90af4068a95f5c2",
  "_user": "jwbowers",
  "_type": "src",
  "_file": "RItools_0.3-5.tar.gz",
  "_fileid": "https://r2.ropensci.org/2e496c72ad13cbcac63860f75282819dae467328ee61f8bb37ca8a6c87b9e883",
  "_filesize": 326025,
  "_sha256": "2e496c72ad13cbcac63860f75282819dae467328ee61f8bb37ca8a6c87b9e883",
  "_expires": "2027-01-20T09:35:11.000Z",
  "_created": "2026-10-12T09:30:36.000Z",
  "_published": "2026-10-12T09:35:13.605Z",
  "_buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114748163539,
      "time": 230,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11738510970"
    },
    {
      "job": 114748163378,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738665640"
    },
    {
      "job": 114748164250,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11738158521"
    },
    {
      "job": 114748163268,
      "time": 206,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738950253"
    },
    {
      "job": 114747037218,
      "time": 186,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738183048"
    },
    {
      "job": 114748163331,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11738815251"
    },
    {
      "job": 114748163455,
      "time": 146,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11738595540"
    },
    {
      "job": 114748163548,
      "time": 129,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11738380998"
    },
    {
      "job": 114748163464,
      "time": 139,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738620548"
    }
  ],
  "_upstream": "https://github.com/cran/RItools",
  "_commit": {
    "id": "7960ec62d591c604ee43a537c90af4068a95f5c2",
    "author": "Jake Bowers <jwbowers@illinois.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3-5\n",
    "time": 1747488602
  },
  "_maintainer": {
    "name": "Jake Bowers",
    "email": "jwbowers@illinois.edu",
    "login": "jwbowers",
    "twitter": "@jakewbowers",
    "description": "",
    "uuid": 569932
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "xtable",
      "role": "Imports"
    },
    {
      "package": "svd",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "SparseM",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "optmatch",
      "role": "Enhances"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jwbowers",
      "count": 22,
      "uuid": 569932
    }
  ],
  "_userbio": {
    "uuid": 569932,
    "type": "user",
    "name": "Jake Bowers",
    "followers": 93
  },
  "_downloads": {
    "count": 2112,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RItools"
  },
  "_mentions": 4,
  "_searchresults": 234,
  "_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/readme.html",
    "extra/readme.md",
    "extra/RItools.html"
  ],
  "_realowner": "jwbowers",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1-2",
      "date": "2008-09-28"
    },
    {
      "version": "0.1-3",
      "date": "2008-10-07"
    },
    {
      "version": "0.1-4",
      "date": "2008-12-18"
    },
    {
      "version": "0.1-5",
      "date": "2009-01-22"
    },
    {
      "version": "0.1-6",
      "date": "2009-05-08"
    },
    {
      "version": "0.1-7",
      "date": "2009-06-25"
    },
    {
      "version": "0.1-8",
      "date": "2009-07-18"
    },
    {
      "version": "0.1-9",
      "date": "2010-01-08"
    },
    {
      "version": "0.1-10",
      "date": "2010-09-23"
    },
    {
      "version": "0.1-11",
      "date": "2011-03-05"
    },
    {
      "version": "0.1-12",
      "date": "2014-07-24"
    },
    {
      "version": "0.1-13",
      "date": "2016-01-17"
    },
    {
      "version": "0.1-15",
      "date": "2016-05-30"
    },
    {
      "version": "0.1-16",
      "date": "2018-06-19"
    },
    {
      "version": "0.1-16.1",
      "date": "2019-05-26"
    },
    {
      "version": "0.1-17",
      "date": "2019-07-10"
    },
    {
      "version": "0.1-18",
      "date": "2022-02-28"
    },
    {
      "version": "0.3-0",
      "date": "2022-07-20"
    },
    {
      "version": "0.3-1",
      "date": "2022-08-10"
    },
    {
      "version": "0.3-2",
      "date": "2023-02-04"
    },
    {
      "version": "0.3-3",
      "date": "2023-03-10"
    },
    {
      "version": "0.3-4",
      "date": "2024-05-31"
    },
    {
      "version": "0.3-5",
      "date": "2025-05-17"
    }
  ],
  "_exports": [
    "balanceplot",
    "balanceTest",
    "glance.xbal",
    "tidy.xbal",
    "xBalance"
  ],
  "_datasets": [
    {
      "name": "nuclearplants",
      "title": "Nuclear Power Station Construction Data",
      "object": "nuclearplants",
      "class": [
        "data.frame"
      ],
      "fields": [
        "cost",
        "date",
        "t1",
        "t2",
        "cap",
        "pr",
        "ne",
        "ct",
        "bw",
        "cum.n",
        "pt"
      ],
      "rows": 32,
      "table": true,
      "tojson": true
    },
    {
      "name": "ym_long",
      "title": "ASSIST Trial Data from Yudkin and Moher 2001",
      "object": "ym_long",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "practice",
        "n_practice",
        "assess_strata",
        "trt",
        "id",
        "assessed",
        "aspirin",
        "hypo",
        "lipid"
      ],
      "rows": 2142,
      "table": true,
      "tojson": true
    },
    {
      "name": "ym_short",
      "title": "ASSIST Trial Data from Yudkin and Moher 2001",
      "object": "ym_short",
      "class": [
        "data.frame"
      ],
      "fields": [
        "practice",
        "n_practice",
        "assessed",
        "aspirin",
        "hypo",
        "lipid",
        "assess_strata",
        "trt"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "balanceplot",
      "title": "Create a plot of the balance on variables across different stratifications.",
      "topics": [
        "balanceplot"
      ]
    },
    {
      "page": "balanceTest",
      "title": "Standardized Differences for Stratified Comparisons",
      "topics": [
        "balanceTest"
      ]
    },
    {
      "page": "balanceTest.make.stratwts",
      "title": "balanceTest helper function",
      "topics": [
        "balanceTest.make.stratwts"
      ]
    },
    {
      "page": "balanceTestEngine",
      "title": "xBalance helper function",
      "topics": [
        "balanceTestEngine"
      ]
    },
    {
      "page": "flatten.xbalresult",
      "title": "Flattens xBalance output.",
      "topics": [
        "flatten.xbalresult"
      ]
    },
    {
      "page": "formula.xbal",
      "title": "Returns 'formula' attribute of an 'xbal' object.",
      "topics": [
        "formula.balancetest",
        "formula.xbal"
      ]
    },
    {
      "page": "gramian_reduction",
      "title": "Helper function to slm_fit_csr",
      "topics": [
        "gramian_reduction"
      ]
    },
    {
      "page": "makePval",
      "title": "Get p-value for Z-stats",
      "topics": [
        "makePval"
      ]
    },
    {
      "page": "naImpute",
      "title": "Impute NA's",
      "topics": [
        "naImpute"
      ]
    },
    {
      "page": "nuclearplants",
      "title": "Nuclear Power Station Construction Data",
      "topics": [
        "nuclearplants"
      ]
    },
    {
      "page": "plot.balancetest",
      "title": "Plot of balance across multiple strata",
      "topics": [
        "plot.balancetest"
      ]
    },
    {
      "page": "plot.xbal",
      "title": "Plot of balance across multiple strata",
      "topics": [
        "plot.xbal"
      ]
    },
    {
      "page": "print.xbal",
      "title": "Printing xBalance and balanceTest Objects",
      "topics": [
        "print",
        "print.balancetest",
        "print.xbal"
      ]
    },
    {
      "page": "scale.DesignOptions",
      "title": "Scale DesignOptions",
      "topics": [
        "scale.DesignOptions"
      ]
    },
    {
      "page": "slm_fit_csr",
      "title": "SparseM::slm.fit.csr, made tolerant to faults that recur in RItools",
      "topics": [
        "slm_fit_csr"
      ]
    },
    {
      "page": "SparseM_solve",
      "title": "Helper function to slm_fit_csr",
      "topics": [
        "SparseM_solve"
      ]
    },
    {
      "page": "StratumWeightedDesignOptions-class",
      "title": "Stratum Weighted DesignOptions",
      "topics": [
        "StratumWeightedDesignOptions-class"
      ]
    },
    {
      "page": "subset.xbal",
      "title": "Select variables, strata, and statistics from a 'xbal' or 'balancetest' object",
      "topics": [
        "subset.balancetest",
        "subset.xbal"
      ]
    },
    {
      "page": "tidy.xbal",
      "title": "'broom::tidy()'/'glance()' methods for 'balanceTest()' results",
      "topics": [
        "glance.xbal",
        "tidy.xbal"
      ]
    },
    {
      "page": "withOptions",
      "title": "Safe way to temporarily override options()",
      "topics": [
        "withOptions"
      ]
    },
    {
      "page": "xBalance",
      "title": "Standardized Differences for Stratified Comparisons",
      "topics": [
        "xBalance"
      ]
    },
    {
      "page": "xtable.xbal",
      "title": "An 'xtable' method for 'xbal' and 'balancetest' objects",
      "topics": [
        "xtable.balancetest",
        "xtable.xbal"
      ]
    },
    {
      "page": "ym_long",
      "title": "ASSIST Trial Data from Yudkin and Moher 2001",
      "topics": [
        "ym_long"
      ]
    },
    {
      "page": "ym_short",
      "title": "ASSIST Trial Data from Yudkin and Moher 2001",
      "topics": [
        "ym_short"
      ]
    }
  ],
  "_readme": "https://github.com/cran/RItools/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "svd",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_score": 3.9949397669358984,
  "_indexed": true,
  "_nocasepkg": "ritools",
  "_universes": [
    "jwbowers"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3-5",
      "date": "2026-10-12T09:33:34.000Z",
      "distro": "resolute",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/b2534520848b31c6177951f19846c9e5bb6f96f154053b4cbd0bab8fb152574a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3-5",
      "date": "2026-10-12T09:32:45.000Z",
      "distro": "resolute",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/cc8552bb1fe8b99fc234632d76ad3fc73a3303f05a383fcd25c7a99eca5c1265",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3-5",
      "date": "2026-10-12T09:32:44.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/ad454b9c394f0762ef57fc8e9ba8bb3d4521551779fa7ce68ac12eeb27ca41f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3-5",
      "date": "2026-10-12T09:33:08.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/f9f920beda35bba1b2b6d7bb273c0d43029622d9ee56c2beb6ff2bd99b6a2390",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3-5",
      "date": "2026-10-12T09:32:40.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/109be3af5c76349f42c715349888a6a96d9669adc7696b6b211ed36d102c909c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3-5",
      "date": "2026-10-12T09:32:05.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/785f565f6d5894cdec67031c745c6f7f5fe1e87c79e27fac69a0c1a0113d45ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3-5",
      "date": "2026-10-12T09:32:14.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/c4ea15ccd828389e458b66a4c13ef67163cbd88c729f7d36b20a4a106eaf8b35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3-5",
      "date": "2026-10-12T09:32:03.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "https://r2.ropensci.org/b3b27543e863a314e14c23887c5fd9772e82132a71972a68face4ee4525dd4a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/38230020297"
    }
  ]
}