{
  "_id": "6a1f33c0b401979e7342824a",
  "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-05-15 09:24:50 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",
  "MD5sum": "daa225e09014b1b3a8259bb2ec133d0a",
  "_user": "jwbowers",
  "_type": "src",
  "_file": "RItools_0.3-5.tar.gz",
  "_fileid": "55cc0a917f27a0893494a5e3651e0e850011661a26e42a857a162b9469507655",
  "_filesize": 325035,
  "_sha256": "55cc0a917f27a0893494a5e3651e0e850011661a26e42a857a162b9469507655",
  "_created": "2026-05-15T09:24:50.000Z",
  "_published": "2026-06-02T19:49:20.988Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79154375097,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014051862"
    },
    {
      "job": 79154375734,
      "time": 187,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014050895"
    },
    {
      "job": 79154375602,
      "time": 216,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014049369"
    },
    {
      "job": 79154375429,
      "time": 212,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014041948"
    },
    {
      "job": 79154374818,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013995602"
    },
    {
      "job": 79154374314,
      "time": 1428,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79154375489,
      "time": 151,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014040134"
    },
    {
      "job": 79154375577,
      "time": 126,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014032569"
    },
    {
      "job": 79154375508,
      "time": 168,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014045208"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 569932
  },
  "_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": [
    {
      "week": "2025-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3-5",
      "date": "2025-05-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jwbowers",
      "count": 22,
      "uuid": 569932
    }
  ],
  "_userbio": {
    "uuid": 569932,
    "type": "user",
    "name": "Jake Bowers"
  },
  "_downloads": {
    "count": 4165,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RItools"
  },
  "_mentions": 4,
  "_searchresults": 241,
  "_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/readme.html",
    "extra/readme.md",
    "extra/RItools.html",
    "manual.pdf"
  ],
  "_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": 4.302662043981655,
  "_indexed": true,
  "_nocasepkg": "ritools",
  "_universes": [
    "jwbowers"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3-5",
      "date": "2026-05-15T09:27:23.000Z",
      "distro": "noble",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "5046e360d4c584228d4622e87f295a3ab92b72a679f892585f8eda8295b00366",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3-5",
      "date": "2026-05-15T09:27:19.000Z",
      "distro": "noble",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "12f35b30a447b485e3ff8fbd3b920cee2291a845ed40c5d64918932cb1e2e6ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3-5",
      "date": "2026-05-15T09:27:29.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "875673ce730b5d2f16994dcaacf1a298087a7fa41d10c38d9e1eb5bc8cc57aa7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3-5",
      "date": "2026-05-15T09:27:05.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "018938212d09905f302ef37b8ed90d3240ccae92d01547496aaff6d6c44e5e8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3-5",
      "date": "2026-05-15T09:26:34.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "58eb1a93ab6f6030ce430f0c193b1f91880c1b95a42f208b833921b2d9b13f70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3-5",
      "date": "2026-05-15T09:26:11.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "03d6a1351a8def27fe6dfb1ead42c96055d04c4f79efbfdda2a379bf4f615268",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3-5",
      "date": "2026-05-15T09:26:49.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "eec1972d1e8d58e0c6254c3580044e1fa2ddfd7167b9d9a4ad5778a43df3ed18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3-5",
      "date": "2026-05-22T07:21:40.000Z",
      "commit": "7960ec62d591c604ee43a537c90af4068a95f5c2",
      "fileid": "78e69d5ae7709b35ad506dd27f9d572a4772f88e648222ff4652ebfbff042015",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jwbowers/actions/runs/25910321454"
    }
  ]
}