{
  "_id": "6ab0bf5b3d719c1f840832fa",
  "Package": "vayr",
  "Title": "Extensions for 'ggplot2' to Visualize as You Randomize",
  "Version": "1.1.0",
  "Authors@R": "c(person(\"Alexander\", \"Coppock\", , \"acoppock@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-5733-2386\")),\nperson(\"Elias\", \"Hyde\", , \"eliasworrallhyde@gmail.com\", role = \"ctb\"))",
  "Description": "Extensions for 'ggplot2' that implement the \"visualize as\nyou randomize\" principles of Coppock (2021)\n<doi:10.1017/9781108777919.022>, which can be especially useful\nwhen plotting experimental data. Provides position adjustments\nthat arrange over-plotted points so that a statistical model\ncan be shown in data-space, and a helper for graphing extreme\nvalue bounds when an experiment encounters attrition.",
  "License": "GPL-2 | file LICENSE",
  "URL": "https://alexandercoppock.com/vayr/",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "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/vayr",
  "RemoteRef": "HEAD",
  "RemoteSha": "800275125317c21c667404e82e27f20eea378b54",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 05:19:09 UTC",
    "User": "root"
  },
  "Author": "Alexander Coppock [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-5733-2386>),\nElias Hyde [ctb]",
  "Maintainer": "Alexander Coppock <acoppock@gmail.com>",
  "_user": "acoppock",
  "_type": "src",
  "_file": "vayr_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/96046274a7077ad732e04564ca23d8396f963523c0e843ce1d5adb276fc9b8ce",
  "_filesize": 3283375,
  "_sha256": "96046274a7077ad732e04564ca23d8396f963523c0e843ce1d5adb276fc9b8ce",
  "_expires": "2026-12-30T05:23:37.000Z",
  "_created": "2026-09-21T05:19:09.000Z",
  "_published": "2026-09-21T05:23:39.474Z",
  "_jobs": [
    {
      "job": 106222748044,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10624050165"
    },
    {
      "job": 106222748034,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10623396138"
    },
    {
      "job": 106222747987,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10623885407"
    },
    {
      "job": 106222748417,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10623965180"
    },
    {
      "job": 106221898049,
      "time": 287,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10622724866"
    },
    {
      "job": 106222747964,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10623326072"
    },
    {
      "job": 106222748055,
      "time": 159,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10623960267"
    },
    {
      "job": 106222748014,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10623059472"
    },
    {
      "job": 106222748062,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10623228151"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498",
  "_status": "success",
  "_upstream": "https://github.com/acoppock/vayr",
  "_commit": {
    "id": "800275125317c21c667404e82e27f20eea378b54",
    "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,
    "orcid": "0000-0002-5733-2386"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "packcircles",
      "version": ">= 0.3.7",
      "role": "Imports"
    },
    {
      "package": "withr",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "marginaleffects",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "randomizr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sessioninfo",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "acoppock",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 2
    },
    {
      "week": "2026-32",
      "n": 17
    },
    {
      "week": "2026-34",
      "n": 10
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0",
      "date": "2026-08-19"
    }
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "acoppock",
      "count": 58,
      "uuid": 9171009
    },
    {
      "user": "eliashyde",
      "count": 37,
      "uuid": 189557872
    }
  ],
  "_userbio": {
    "uuid": 9171009,
    "type": "user",
    "name": "Alexander Coppock",
    "followers": 68
  },
  "_downloads": {
    "count": 322,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/vayr"
  },
  "_devurl": "https://github.com/acoppock/vayr",
  "_pkgdown": "https://alexandercoppock.com/vayr/",
  "_searchresults": 18,
  "_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/vayr.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/acoppock/vayr",
  "_realowner": "acoppock",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-04-15"
    },
    {
      "version": "1.1.0",
      "date": "2026-08-21"
    }
  ],
  "_exports": [
    "impute_extreme_values",
    "position_bluenoise",
    "position_bluenoisedodge",
    "position_circlepack",
    "position_circlepackdodge",
    "position_honeycomb",
    "position_honeycombdodge",
    "position_jitter_ellipse",
    "position_jitterdodge_ellipse",
    "position_sunflower",
    "position_sunflowerdodge",
    "sunflower"
  ],
  "_datasets": [
    {
      "name": "attrition_experiment",
      "title": "Simulated experiment encountering attrition",
      "object": "attrition_experiment",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "U",
        "Y_Z_0",
        "Y_Z_1",
        "R_Z_0",
        "R_Z_1",
        "Z",
        "Z_cond_prob",
        "R",
        "Y"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "blocked_experiment",
      "title": "Simulated block-randomized experiment",
      "object": "blocked_experiment",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "neighborhood",
        "lambda",
        "resident",
        "Y_Z_0",
        "Y_Z_1",
        "Z",
        "Z_cond_prob",
        "Y",
        "condition"
      ],
      "rows": 150,
      "table": true,
      "tojson": true
    },
    {
      "name": "clustered_experiment",
      "title": "Simulated cluster-randomized experiment",
      "object": "clustered_experiment",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "class",
        "n_per_class",
        "class_shock",
        "student",
        "student_shock",
        "Y_Z_0",
        "Y_Z_1",
        "Z",
        "Z_cond_prob",
        "Y",
        "condition"
      ],
      "rows": 441,
      "table": true,
      "tojson": true
    },
    {
      "name": "continuous_interaction",
      "title": "Simulated experiment whose effect varies with a continuous covariate",
      "object": "continuous_interaction",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "noise",
        "X",
        "Y_Z_1",
        "Y_Z_0",
        "S_inclusion_prob",
        "Z",
        "Z_cond_prob",
        "Y",
        "condition"
      ],
      "rows": 1189,
      "table": true,
      "tojson": true
    },
    {
      "name": "covariate_adjustment",
      "title": "Simulated experiment with a pretreatment covariate",
      "object": "covariate_adjustment",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "U",
        "X",
        "Y_Z_0",
        "Y_Z_1",
        "Z",
        "Z_cond_prob",
        "Y",
        "condition"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "noncompliance_experiment",
      "title": "Simulated experiment with two-sided noncompliance",
      "object": "noncompliance_experiment",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Z",
        "D",
        "Y"
      ],
      "rows": 600,
      "table": true,
      "tojson": true
    },
    {
      "name": "patriot_act",
      "title": "Original and Replication data for the Patriot Act experiment described in Persuasion in Parallel",
      "object": "patriot_act",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "sample_label",
        "pid_3",
        "T1_content",
        "PA_support"
      ],
      "rows": 2062,
      "table": true,
      "tojson": true
    },
    {
      "name": "two_arm_trial",
      "title": "Simulated two-arm trial",
      "object": "two_arm_trial",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "U",
        "Y_Z_0",
        "Y_Z_1",
        "Z",
        "Z_cond_prob",
        "Y",
        "condition"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "attrition_experiment",
      "title": "Simulated experiment encountering attrition",
      "concept": [
        "Data"
      ],
      "topics": [
        "attrition_experiment"
      ]
    },
    {
      "page": "blocked_experiment",
      "title": "Simulated block-randomized experiment",
      "concept": [
        "Data"
      ],
      "topics": [
        "blocked_experiment"
      ]
    },
    {
      "page": "clustered_experiment",
      "title": "Simulated cluster-randomized experiment",
      "concept": [
        "Data"
      ],
      "topics": [
        "clustered_experiment"
      ]
    },
    {
      "page": "continuous_interaction",
      "title": "Simulated experiment whose effect varies with a continuous covariate",
      "concept": [
        "Data"
      ],
      "topics": [
        "continuous_interaction"
      ]
    },
    {
      "page": "covariate_adjustment",
      "title": "Simulated experiment with a pretreatment covariate",
      "concept": [
        "Data"
      ],
      "topics": [
        "covariate_adjustment"
      ]
    },
    {
      "page": "impute_extreme_values",
      "title": "Impute the extreme value bounds for an outcome with attrition",
      "concept": [
        "Functions"
      ],
      "topics": [
        "impute_extreme_values"
      ]
    },
    {
      "page": "noncompliance_experiment",
      "title": "Simulated experiment with two-sided noncompliance",
      "concept": [
        "Data"
      ],
      "topics": [
        "noncompliance_experiment"
      ]
    },
    {
      "page": "patriot_act",
      "title": "Original and Replication data for the Patriot Act experiment described in Persuasion in Parallel",
      "concept": [
        "Data"
      ],
      "topics": [
        "patriot_act"
      ]
    },
    {
      "page": "position_bluenoise",
      "title": "Scatter over-plotted points evenly at random",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_bluenoise"
      ]
    },
    {
      "page": "position_bluenoisedodge",
      "title": "Scatter over-plotted points evenly at random and dodge groups side-to-side",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_bluenoisedodge"
      ]
    },
    {
      "page": "position_circlepack",
      "title": "Arrange over-plotted points with a circle-packing algorithm",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_circlepack"
      ]
    },
    {
      "page": "position_circlepackdodge",
      "title": "Arrange over-plotted points with a circle-packing algorithm and dodge groups side-to-side",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_circlepackdodge"
      ]
    },
    {
      "page": "position_honeycomb",
      "title": "Arrange over-plotted points on a honeycomb lattice",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_honeycomb"
      ]
    },
    {
      "page": "position_honeycombdodge",
      "title": "Arrange over-plotted points on a honeycomb lattice and dodge groups side-to-side",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_honeycombdodge"
      ]
    },
    {
      "page": "position_jitter_ellipse",
      "title": "Jitter points on an ellipse to avoid over-plotting",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_jitter_ellipse"
      ]
    },
    {
      "page": "position_jitterdodge_ellipse",
      "title": "Jitter points on an ellipse and dodge groups side-to-side",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_jitterdodge_ellipse"
      ]
    },
    {
      "page": "position_sunflower",
      "title": "Arrange over-plotted points in a sunflower pattern",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_sunflower"
      ]
    },
    {
      "page": "position_sunflowerdodge",
      "title": "Arrange over-plotted points in a sunflower pattern and dodge groups side-to-side",
      "concept": [
        "Functions"
      ],
      "topics": [
        "position_sunflowerdodge"
      ]
    },
    {
      "page": "sunflower",
      "title": "Distribute points using a sunflower seed algorithm",
      "concept": [
        "Functions"
      ],
      "topics": [
        "sunflower"
      ]
    },
    {
      "page": "two_arm_trial",
      "title": "Simulated two-arm trial",
      "concept": [
        "Data"
      ],
      "topics": [
        "two_arm_trial"
      ]
    },
    {
      "page": "vayr",
      "title": "Extensions for 'ggplot2' to Visualize as You Randomize",
      "concept": [
        "Package"
      ],
      "topics": [
        "vayr-package",
        "vayr"
      ]
    }
  ],
  "_readme": "https://github.com/acoppock/vayr/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "packcircles",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "design-based-graphs.Rmd",
      "filename": "design-based-graphs.html",
      "title": "Design-based graphs for seven experiments",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A two-arm trial",
        "A blocked experiment",
        "A cluster-randomized experiment",
        "Covariate adjustment",
        "An effect that varies with a covariate",
        "Noncompliance",
        "Attrition"
      ],
      "created": "2026-08-09 03:34:24",
      "modified": "2026-08-19 03:13:56",
      "commits": 8
    },
    {
      "source": "vayr-vignette.Rmd",
      "filename": "vayr-vignette.html",
      "title": "Visualize as you randomize",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Contents",
        "Position Jitter Ellipse",
        "Position Blue Noise",
        "Position Sunflower",
        "Position Honeycomb",
        "Position Circle Pack",
        "Example"
      ],
      "created": "2025-02-28 21:58:13",
      "modified": "2026-08-19 03:45:13",
      "commits": 12
    }
  ],
  "_score": 5.799340549453582,
  "_indexed": true,
  "_nocasepkg": "vayr",
  "_universes": [
    "acoppock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-21T05:22:51.000Z",
      "distro": "resolute",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/0b5c70771b6deae81325289cf1464430db76051dd9c1070dcf632c82c514a4bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-21T05:22:45.000Z",
      "distro": "resolute",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/68fdb7e3914c09599f055cf0b86d7f8f03039c4788d05aae79be464a760fb4cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-21T05:22:00.000Z",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/b2f0ec1ba3b337833657c554e35cc7bef2a838b3cb69ef2a0e816e722837ceca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-21T05:22:06.000Z",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/5c071ff5005a47a65085389645000731ecd6a18133e0a8b8f26ddc9d7955fc13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-09-21T05:22:26.000Z",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/1b10f4d0b597c202021f36d9cfd6794c933a408cbe1ec8eb026459cfc4d40e73",
      "status": "success",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-21T05:22:23.000Z",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/9b294d386eff4a918dea3e12d83e3acaa7ea508c38a2630573f659a0a2d58dee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-21T05:21:27.000Z",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/3be50f773cc955c0ef1e4cfe65c62ce71168b9cb24a8f169fe1fd14bb521530c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-21T05:21:17.000Z",
      "commit": "800275125317c21c667404e82e27f20eea378b54",
      "fileid": "https://r2.ropensci.org/55cce7bfc9a28f261544e28f17e5e2be694ea723bc6f984223a1b9199bb71b3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/acoppock/actions/runs/35563875498"
    }
  ]
}