{
  "_id": "6ab0bf673d719c1f840832fe",
  "Package": "ri2",
  "Type": "Package",
  "Title": "Randomization Inference for Randomized Experiments",
  "Version": "0.5.1",
  "Authors@R": "person(\"Alexander\", \"Coppock\", email = \"acoppock@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Randomization inference procedures for simple and complex\nrandomized designs, including multi-armed trials, as described\nin Gerber and Green (2012, ISBN: 978-0393979954). Users\nformally describe their randomization procedure and test\nstatistic. The randomization distribution of the test statistic\nunder some null hypothesis is efficiently simulated.",
  "License": "MIT + file LICENSE",
  "URL": "https://alexandercoppock.com/ri2/, https://github.com/acoppock/ri2",
  "BugReports": "https://github.com/acoppock/ri2/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://acoppock.r-universe.dev",
  "Date/Publication": "2026-09-21 00:32:57 UTC",
  "RemoteUrl": "https://github.com/acoppock/ri2",
  "RemoteRef": "HEAD",
  "RemoteSha": "e4493536b551de1edbf3f2df376879c238678782",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 05:19:14 UTC",
    "User": "root"
  },
  "Author": "Alexander Coppock [aut, cre]",
  "Maintainer": "Alexander Coppock <acoppock@gmail.com>",
  "_user": "acoppock",
  "_type": "src",
  "_file": "ri2_0.5.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/daaab2c7c52032b7f00fda9e09d2a9d76e9fc67537b062286536042de9501843",
  "_filesize": 601380,
  "_sha256": "daaab2c7c52032b7f00fda9e09d2a9d76e9fc67537b062286536042de9501843",
  "_expires": "2026-12-30T05:23:49.000Z",
  "_created": "2026-09-21T05:19:14.000Z",
  "_published": "2026-09-21T05:23:51.220Z",
  "_jobs": [
    {
      "job": 106222719837,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10624100061"
    },
    {
      "job": 106222719769,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10622924997"
    },
    {
      "job": 106222719857,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10623641083"
    },
    {
      "job": 106222719802,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10623565771"
    },
    {
      "job": 106221773132,
      "time": 322,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10623495722"
    },
    {
      "job": 106222719751,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10623094387"
    },
    {
      "job": 106222719850,
      "time": 124,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10622979745"
    },
    {
      "job": 106222719855,
      "time": 125,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10622904944"
    },
    {
      "job": 106222719838,
      "time": 135,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10624030089"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393",
  "_status": "success",
  "_upstream": "https://github.com/acoppock/ri2",
  "_commit": {
    "id": "e4493536b551de1edbf3f2df376879c238678782",
    "author": "Alexander Coppock <acoppock@users.noreply.github.com>",
    "committer": "Alexander Coppock <acoppock@users.noreply.github.com>",
    "message": "Take the macOS dependencies from Posit Package Manager\n\nCRAN served part of its macOS arm64 R 4.6 binaries as zstd archives under\nthe .tgz name from 2026-09-17, estimatr 2.0.0 among them. The pak that\nsetup-r-dependencies installs reads gzip, bzip2, xz and zip but not zstd,\nso a macOS job dies at the dependency install with \"unknown archive type\"\n(r-lib/pkgdepends#485). Posit Package Manager still serves gzip builds of\nthe same versions.\n\nRevert once a released pak reads zstd.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n",
    "time": 1789950777
  },
  "_maintainer": {
    "name": "Alexander Coppock",
    "email": "acoppock@gmail.com",
    "login": "acoppock",
    "description": "",
    "uuid": 9171009
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "randomizr",
      "version": ">= 0.16.0",
      "role": "Imports"
    },
    {
      "package": "estimatr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    }
  ],
  "_owner": "acoppock",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 12
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.5.0",
      "date": "2026-07-29"
    }
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "acoppock",
      "count": 125,
      "uuid": 9171009
    },
    {
      "user": "nfultz",
      "count": 9,
      "uuid": 418638
    }
  ],
  "_userbio": {
    "uuid": 9171009,
    "type": "user",
    "name": "Alexander Coppock",
    "followers": 68
  },
  "_downloads": {
    "count": 334,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ri2"
  },
  "_devurl": "https://github.com/acoppock/ri2",
  "_pkgdown": "https://alexandercoppock.com/ri2/",
  "_searchresults": 178,
  "_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/ri2.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/acoppock/ri2",
  "_realowner": "acoppock",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-01-31"
    },
    {
      "version": "0.1.1",
      "date": "2018-03-28"
    },
    {
      "version": "0.1.2",
      "date": "2019-01-24"
    },
    {
      "version": "0.2.0",
      "date": "2020-12-07"
    },
    {
      "version": "0.4.0",
      "date": "2022-05-26"
    },
    {
      "version": "0.4.1",
      "date": "2025-10-14"
    },
    {
      "version": "0.5.0",
      "date": "2026-07-29"
    }
  ],
  "_exports": [
    "block_and_cluster_ra",
    "block_ra",
    "cluster_ra",
    "complete_ra",
    "conduct_ra",
    "conduct_ri",
    "declare_ra",
    "obtain_condition_probabilities",
    "obtain_num_permutations",
    "obtain_permutation_matrix",
    "ri_ci",
    "simple_ra",
    "tidy"
  ],
  "_help": [
    {
      "page": "conduct_ri",
      "title": "Conduct Randomization Inference",
      "topics": [
        "conduct_ri"
      ]
    },
    {
      "page": "ri_ci",
      "title": "Compute a randomization inference confidence interval",
      "topics": [
        "ri_ci"
      ]
    }
  ],
  "_readme": "https://github.com/acoppock/ri2/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "estimatr",
    "farver",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pbapply",
    "pillar",
    "pkgconfig",
    "R6",
    "randomizr",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "ri2_vignette.Rmd",
      "filename": "ri2_vignette.html",
      "title": "Randomization Inference with ri2",
      "author": "Alexander Coppock",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic syntax",
        "More complex designs",
        "Multi-arm trials",
        "Why conditioning on the two-arm comparison matters",
        "Comparing nested models",
        "Three Arm Trial",
        "Interaction terms",
        "Arbitrary test statistics",
        "Difference-in-variances",
        "Balance Test",
        "Sharp hypotheses that vary across units",
        "Factorial designs",
        "Conclusion"
      ],
      "created": "2017-07-17 17:51:59",
      "modified": "2026-07-29 05:02:45",
      "commits": 9
    }
  ],
  "_score": 6.727541257028557,
  "_indexed": true,
  "_nocasepkg": "ri2",
  "_universes": [
    "acoppock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-09-21T05:22:17.000Z",
      "distro": "resolute",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/7814d089e71348fbbb86abc15daad558dd95d42945d37a1bd02bfe6ba7e0cd82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-09-21T05:22:30.000Z",
      "distro": "resolute",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/9ecfdfc544ee81b1121b4941e6dc14108a2e38692270b14982de792d98463898",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-09-21T05:22:09.000Z",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/2f0945e277ac61135b9c70fcd0511b9c0c77f1a2426ac4ea4859d59ad885b08a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-09-21T05:21:58.000Z",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/2af9517a95650e29263192dd0c0a272c71ff971978206ab88740727299c58131",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.1",
      "date": "2026-09-21T05:22:19.000Z",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/9a1410354e27c656df6a87961a9ac430b0699279a024a7531a4767c199093e57",
      "status": "success",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-09-21T05:21:05.000Z",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/24d6fab7aef29aa229ddad2558fcb609a8e300119a0ca6b51778587194eb8fae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-09-21T05:21:06.000Z",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/92572c852a71645d721e690902f79b47fd0b1a57c1ce0672faf577a1aa5525d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-09-21T05:21:16.000Z",
      "commit": "e4493536b551de1edbf3f2df376879c238678782",
      "fileid": "https://r2.ropensci.org/38c80d86db207eb2f65af1441a5e51786be587d2cfb3ce62966efa43c7a16fb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563872393"
    }
  ]
}