{
  "_id": "6a19fc3a1d7bb097a09cc874",
  "Package": "adjustr",
  "Encoding": "UTF-8",
  "Type": "Package",
  "Title": "Stan Model Adjustments and Sensitivity Analyses using Importance\nSampling",
  "Version": "0.2.0",
  "Authors@R": "person(\"Cory\", \"McCartan\", email = \"mccartan@psu.edu\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Assess the sensitivity of a Bayesian model (fitted using\n'Stan' via 'rstan', 'brms', or 'cmdstanr') to the specification\nof its likelihood and priors. Users provide a series of\nalternate sampling specifications, and the package uses\nPareto-smoothed importance sampling (PSIS) to estimate\nposterior quantities of interest under each specification,\nwithout needing to refit the model. Methods are based on\nVehtari, Simpson, Gelman, Yao, and Gabry (2024)\n<doi:10.48550/arXiv.1507.02646>.",
  "License": "MIT + file LICENSE",
  "URL": "https://corymccartan.com/adjustr/",
  "BugReports": "https://github.com/CoryMcCartan/adjustr/issues",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make",
  "Repository": "https://corymccartan.r-universe.dev",
  "Date/Publication": "2026-05-22 22:05:33 UTC",
  "RemoteUrl": "https://github.com/CoryMcCartan/adjustr",
  "RemoteRef": "v0.2.0",
  "RemoteSha": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 20:47:20 UTC",
    "User": "root"
  },
  "Author": "Cory McCartan [aut, cre, cph]",
  "Maintainer": "Cory McCartan <mccartan@psu.edu>",
  "MD5sum": "9cde9636e0e553c209d4d15a64a5cf74",
  "_user": "corymccartan",
  "_type": "src",
  "_file": "adjustr_0.2.0.tar.gz",
  "_fileid": "42d0b41035fcfcc0074a9a14a792a4446ca07fc5bc7bcec5c5357b6931832d4e",
  "_filesize": 534648,
  "_sha256": "42d0b41035fcfcc0074a9a14a792a4446ca07fc5bc7bcec5c5357b6931832d4e",
  "_created": "2026-05-29T20:47:20.000Z",
  "_published": "2026-05-29T20:51:06.093Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78584501616,
      "time": 188,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7300786650"
    },
    {
      "job": 78584501622,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7300785781"
    },
    {
      "job": 78584501625,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7300765665"
    },
    {
      "job": 78584501608,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7300769453"
    },
    {
      "job": 78583927242,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7300730957"
    },
    {
      "job": 78584501632,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7300772234"
    },
    {
      "job": 78584501643,
      "time": 134,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7300771001"
    },
    {
      "job": 78584501644,
      "time": 147,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7300774695"
    },
    {
      "job": 78584501652,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7300773722"
    }
  ],
  "_buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/CoryMcCartan/adjustr",
  "_commit": {
    "id": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
    "author": "Cory McCartan <cory.mccartan@gmail.com>",
    "committer": "Cory McCartan <cory.mccartan@gmail.com>",
    "message": "remove donttest\n",
    "time": 1779487533
  },
  "_maintainer": {
    "name": "Cory McCartan",
    "email": "mccartan@psu.edu",
    "login": "corymccartan",
    "bluesky": "@corymccartan.com",
    "description": "Assistant Professor of Statistics at Penn State, working on computational social science problems and open-source R software.",
    "uuid": 2958471
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "loo",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "extraDistr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "corymccartan",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 9
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-05-22"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "corymccartan",
      "count": 43,
      "uuid": 2958471
    }
  ],
  "_userbio": {
    "uuid": 2958471,
    "type": "user",
    "name": "Cory McCartan",
    "description": "Assistant Professor of Statistics at Penn State, working on computational social science problems and open-source R software."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/adjustr"
  },
  "_devurl": "https://github.com/corymccartan/adjustr",
  "_pkgdown": "https://corymccartan.com/adjustr/",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/adjustr.html",
    "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",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-05-29"
    }
  ],
  "_exports": [
    "adjust_weights",
    "extract_samp_stmts",
    "get_resampling_idxs",
    "make_spec",
    "spec_plot"
  ],
  "_datasets": [
    {
      "name": "eightschools_m",
      "title": "Pre-fitted Eight Schools Model",
      "object": "eightschools_m",
      "class": [
        "stanfit"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "adjust_weights",
      "title": "Compute Pareto-smoothed Importance Weights for Alternative Model Specifications",
      "topics": [
        "adjust_weights"
      ]
    },
    {
      "page": "as.data.frame.adjustr_spec",
      "title": "Convert an 'adjustr_spec' Object Into a Data Frame",
      "topics": [
        "as.data.frame.adjustr_spec"
      ]
    },
    {
      "page": "dplyr.adjustr_spec",
      "title": "'dplyr' Methods for 'adjustr_spec' Objects",
      "topics": [
        "arrange.adjustr_spec",
        "dplyr.adjustr_spec",
        "filter.adjustr_spec",
        "rename.adjustr_spec",
        "select.adjustr_spec",
        "slice.adjustr_spec"
      ]
    },
    {
      "page": "extract_samp_stmts",
      "title": "Extract Model Sampling Statements From a Stan Model.",
      "topics": [
        "extract_samp_stmts"
      ]
    },
    {
      "page": "get_resampling_idxs",
      "title": "Get Importance Resampling Indices From Weights",
      "topics": [
        "get_resampling_idxs"
      ]
    },
    {
      "page": "make_spec",
      "title": "Set Up Model Adjustment Specifications",
      "topics": [
        "length.adjustr_spec",
        "make_spec",
        "print.adjustr_spec"
      ]
    },
    {
      "page": "pull.adjustr_weighted",
      "title": "Extract Weights From an 'adjustr_weighted' Object",
      "topics": [
        "pull.adjustr_weighted"
      ]
    },
    {
      "page": "spec_plot",
      "title": "Plot Posterior Quantities of Interest Under Alternative Model Specifications",
      "topics": [
        "spec_plot"
      ]
    },
    {
      "page": "summarize.adjustr_weighted",
      "title": "Summarize Posterior Distributions Under Alternative Model Specifications",
      "topics": [
        "summarise.adjustr_weighted",
        "summarize.adjustr_weighted"
      ]
    }
  ],
  "_pkglogo": "https://github.com/CoryMcCartan/adjustr/raw/v0.2.0/man/figures/logo.png",
  "_readme": "https://github.com/CoryMcCartan/adjustr/raw/v0.2.0/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "adjustr.Rmd",
      "filename": "adjustr.html",
      "title": "Sensitivity Analysis of a Simple Hierarchical Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic Workflow Example",
        "Multiple Alternative Specifications",
        ""
      ],
      "created": "2021-05-11 04:05:18",
      "modified": "2022-06-21 22:39:41",
      "commits": 3
    }
  ],
  "_score": 3.7403626894942437,
  "_indexed": true,
  "_nocasepkg": "adjustr",
  "_universes": [
    "corymccartan"
  ],
  "_previous": "0.1.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-29T20:50:07.000Z",
      "distro": "noble",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "18fbabe5eebb65a2cfa2c4e50ed2f22fc4ff16e26d8dfc0c3f31ea0f5bdd5ba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-29T20:50:06.000Z",
      "distro": "noble",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "8f503433f62313a358cbe16cf52e43870546685c1c10167e9a8b1c108a6ee321",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-29T20:49:08.000Z",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "0b6fdbbecc915c31ee72bd548b46de55c7514a8fa054637157e5f113d7025209",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-29T20:49:18.000Z",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "13c368b5a7e7c88adcb621b98526a06cebab4cc267649e12cd7ca65e6166c293",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-29T20:49:57.000Z",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "129968cf3fce08b629e0f60abe90ecd50ecf495841e42b0bd23e6cb0e1e0f45b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-29T20:48:58.000Z",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "4400d0fa9d55b8a21575f6a36522b8d79a48cba91c2e8cfdd9a8939c803d4c23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-29T20:49:12.000Z",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "609e689bbe3311046d4b6753c9d448d00da55453fd8f9cb576c9d88ca43522a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-29T20:49:18.000Z",
      "commit": "e6d9ed7f84f322303345d91a45a432b42cd01b8b",
      "fileid": "b2781eabff38cc9c3619ab4f71beaf2b0932b42f142bd9fcb7ab1f24a0ad8f1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/corymccartan/actions/runs/26661205818"
    }
  ]
}