{
  "_id": "6b045bab35d1c7861e96c81f",
  "Package": "pbn",
  "Title": "House Layout and Checks for Analysis Projects",
  "Version": "2026.12.11",
  "Authors@R": "c(\nperson(\ngiven = c(\"Richard\", \"Aubrey\"),\nfamily = \"White\",\nemail = \"hello@rwhite.no\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-6747-1726\")\n)\n)",
  "Description": "Holds the house layout of a versioned analysis project and\nthe checks of that layout. It runs the real data and fake\nscenarios as one 'plnr' plan, with a seed for each simulation,\nwrites one results object for each scenario and simulation with\na fixed contract, checks the fake scenarios against their\nexpected values, and computes the numbers of a descriptive\ntable. It checks the bias, the standard error and the coverage\nof an estimate over the simulations of a fake scenario against\nlimits from their Monte Carlo standard errors (Morris, White\nand Crowther, 2019, <doi:10.1002/sim.8086>).",
  "License": "MIT + file LICENSE",
  "URL": "https://www.rwhite.no/pbn/, https://github.com/raubreywhite/pbn",
  "BugReports": "https://github.com/raubreywhite/pbn/issues",
  "Encoding": "UTF-8",
  "Config/Needs/website": "raubreywhite/rwtemplate",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "raubreywhite/cohort",
    "raubreywhite/org",
    "raubreywhite/plnr"
  ],
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.1",
  "Config/pak/sysreqs": "cmake git make libicu-dev",
  "Repository": "https://raubreywhite.r-universe.dev",
  "Date/Publication": "2026-11-23 18:12:28 UTC",
  "RemoteUrl": "https://github.com/raubreywhite/pbn",
  "RemoteRef": "HEAD",
  "RemoteSha": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-23 14:58:12 UTC",
    "User": "root"
  },
  "Author": "Richard Aubrey White [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6747-1726>)",
  "Maintainer": "Richard Aubrey White <hello@rwhite.no>",
  "_user": "raubreywhite",
  "_type": "src",
  "_file": "pbn_2026.12.11.tar.gz",
  "_fileid": "https://r2.ropensci.org/08486abeac1761f0f928b99313897c57a06d9bdaf9832f1b0f4b6b414728df27",
  "_filesize": 1047611,
  "_sha256": "08486abeac1761f0f928b99313897c57a06d9bdaf9832f1b0f4b6b414728df27",
  "_expires": "2027-03-03T15:28:41.000Z",
  "_created": "2026-11-23T14:58:12.000Z",
  "_published": "2026-11-23T15:28:43.498Z",
  "_upstream": "https://github.com/raubreywhite/pbn",
  "_status": "success",
  "_maintainer": {
    "name": "Richard Aubrey White",
    "email": "hello@rwhite.no",
    "login": "raubreywhite",
    "orcid": "0000-0002-6747-1726",
    "twitter": "@raubreywhite",
    "description": "Statistician. Head of @norsyss within @folkehelseinstituttet \n",
    "uuid": 1532091
  },
  "_jobs": [
    {
      "job": 137780762965,
      "time": 507,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14831962687"
    },
    {
      "job": 137780762857,
      "time": 445,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14830054693"
    },
    {
      "job": 137780762892,
      "time": 643,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "14834360910"
    },
    {
      "job": 137780762887,
      "time": 779,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14833645299"
    },
    {
      "job": 137777106442,
      "time": 335,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14830368003"
    },
    {
      "job": 137780762829,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14832101325"
    },
    {
      "job": 137780763072,
      "time": 1494,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14832353973"
    },
    {
      "job": 137780763810,
      "time": 1630,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "14833242621"
    },
    {
      "job": 137780763069,
      "time": 1687,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14833371124"
    }
  ],
  "_buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171",
  "_commit": {
    "id": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
    "author": "Richard Aubrey White <hello@rwhite.no>",
    "committer": "Richard Aubrey White <hello@rwhite.no>",
    "message": "A manual manuscript MAY have a suffix: v02_AB_si.docx\n\nA version can have more than one hand-edited file, such as a manuscript\nand its supporting information. manuscript/manual/ now takes\nvNN_<INITIALS>_<suffix>.docx, with one word of lower-case letters and\ndigits as the suffix, beside vNN_<INITIALS>.docx. Both count as the\nversion vNN for readme_and_changelog and manual_not_ahead.\n\nThe air formatter also reformatted test-rules_ignore.R, with no change\nin behaviour.\n",
    "time": 1795457548
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "callr",
      "role": "Imports"
    },
    {
      "package": "cyclocomp",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "org",
      "version": ">= 2026.11.19",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "plnr",
      "version": ">= 2026.11.17",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "qs2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "cohort",
      "version": ">= 2026.11.18",
      "role": "Suggests"
    },
    {
      "package": "doFuture",
      "role": "Suggests"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "janitor",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "raubreywhite",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-47",
      "n": 58
    },
    {
      "week": "2026-48",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "raubreywhite",
      "count": 60,
      "uuid": 1532091
    }
  ],
  "_userbio": {
    "uuid": 1532091,
    "type": "user",
    "name": "Richard Aubrey White",
    "followers": 0,
    "description": "Statistician. Head of @norsyss within @folkehelseinstituttet "
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pbn"
  },
  "_devurl": "https://github.com/raubreywhite/pbn",
  "_pkgdown": "https://www.rwhite.no/pbn/",
  "_searchresults": 3,
  "_rbuild": "4.6.2",
  "_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/pbn.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Richard Aubrey White",
      "email": "hello@rwhite.no",
      "orcid": "0000-0002-6747-1726",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    }
  ],
  "_exports": [
    "add_analyses",
    "add_data",
    "check_one_file",
    "check_project",
    "check_results",
    "cohort_data",
    "create_project",
    "end_unless_real",
    "expect_biased",
    "expect_recovers",
    "folder",
    "freeze_version",
    "get_argset",
    "get_data",
    "initialize_project",
    "keep_exclusions",
    "make_outputs",
    "new_version",
    "progress",
    "read_results",
    "render_run",
    "run_plan",
    "save_results",
    "scenarios",
    "show_block",
    "show_blocks",
    "stamp_fake",
    "table1",
    "table1_styles",
    "to_one_file",
    "verify"
  ],
  "_help": [
    {
      "page": "add_analyses",
      "title": "Add one analysis for each scenario and simulation to a plan",
      "concept": [
        "plan"
      ],
      "topics": [
        "add_analyses"
      ]
    },
    {
      "page": "add_data",
      "title": "Add data to a plan",
      "concept": [
        "plan"
      ],
      "topics": [
        "add_data"
      ]
    },
    {
      "page": "check_one_file",
      "title": "Check the file of to_one_file() on this computer",
      "concept": [
        "one file"
      ],
      "topics": [
        "check_one_file"
      ]
    },
    {
      "page": "check_project",
      "title": "Check a project against the house layout",
      "concept": [
        "checks"
      ],
      "topics": [
        "check_project"
      ]
    },
    {
      "page": "check_results",
      "title": "Check a results object against the contract",
      "concept": [
        "results"
      ],
      "topics": [
        "check_results"
      ]
    },
    {
      "page": "cohort_data",
      "title": "Work on the data of a cohort and keep its exclusion table",
      "concept": [
        "plan"
      ],
      "topics": [
        "cohort_data",
        "keep_exclusions"
      ]
    },
    {
      "page": "create_project",
      "title": "Create a new project",
      "concept": [
        "project setup"
      ],
      "topics": [
        "create_project"
      ]
    },
    {
      "page": "end_unless_real",
      "title": "End the run script here unless the real data ran",
      "concept": [
        "project setup"
      ],
      "topics": [
        "end_unless_real"
      ]
    },
    {
      "page": "expect_biased",
      "title": "Check that a control analysis shows its bias",
      "concept": [
        "checks of fake scenarios"
      ],
      "topics": [
        "expect_biased"
      ]
    },
    {
      "page": "expect_recovers",
      "title": "Check that an analysis recovers the truth of a fake scenario",
      "concept": [
        "checks of fake scenarios"
      ],
      "topics": [
        "expect_recovers"
      ]
    },
    {
      "page": "folder",
      "title": "The path of a folder of the project",
      "concept": [
        "project setup"
      ],
      "topics": [
        "folder"
      ]
    },
    {
      "page": "freeze_version",
      "title": "Freeze a version of a project",
      "concept": [
        "checks"
      ],
      "topics": [
        "freeze_version"
      ]
    },
    {
      "page": "get_data",
      "title": "Get the data or the argset of one analysis at the console",
      "concept": [
        "plan"
      ],
      "topics": [
        "get_argset",
        "get_data"
      ]
    },
    {
      "page": "initialize_project",
      "title": "Start a project version",
      "concept": [
        "project setup"
      ],
      "topics": [
        "initialize_project"
      ]
    },
    {
      "page": "make_outputs",
      "title": "Write the output of the real data and of chosen fake scenarios",
      "concept": [
        "output"
      ],
      "topics": [
        "make_outputs"
      ]
    },
    {
      "page": "new_version",
      "title": "Start a new version of a project",
      "concept": [
        "project setup"
      ],
      "topics": [
        "new_version"
      ]
    },
    {
      "page": "progress",
      "title": "Show the progress inside one analysis",
      "concept": [
        "plan"
      ],
      "topics": [
        "progress"
      ]
    },
    {
      "page": "read_results",
      "title": "Read the results object of a project version",
      "concept": [
        "results"
      ],
      "topics": [
        "read_results"
      ]
    },
    {
      "page": "render_run",
      "title": "Render the run log to a PDF",
      "concept": [
        "results"
      ],
      "topics": [
        "render_run"
      ]
    },
    {
      "page": "run_plan",
      "title": "Run a plan",
      "concept": [
        "plan"
      ],
      "topics": [
        "run_plan"
      ]
    },
    {
      "page": "save_results",
      "title": "Save the results of a run",
      "concept": [
        "results"
      ],
      "topics": [
        "save_results"
      ]
    },
    {
      "page": "scenarios",
      "title": "Choose the scenarios of a run",
      "concept": [
        "project setup"
      ],
      "topics": [
        "scenarios"
      ]
    },
    {
      "page": "show_blocks",
      "title": "Show the numbers of the manuscript, one block at a time",
      "concept": [
        "one file"
      ],
      "topics": [
        "show_block",
        "show_blocks"
      ]
    },
    {
      "page": "stamp_fake",
      "title": "Mark a figure of fake data",
      "concept": [
        "output"
      ],
      "topics": [
        "stamp_fake"
      ]
    },
    {
      "page": "table1",
      "title": "Compute the numbers of a descriptive table",
      "concept": [
        "shared helpers"
      ],
      "topics": [
        "table1"
      ]
    },
    {
      "page": "table1_styles",
      "title": "List the installed Table 1 styles",
      "concept": [
        "shared helpers"
      ],
      "topics": [
        "table1_styles"
      ]
    },
    {
      "page": "to_one_file",
      "title": "Write the run of the real data as one file for a server",
      "concept": [
        "one file"
      ],
      "topics": [
        "to_one_file"
      ]
    },
    {
      "page": "verify",
      "title": "Run a version and check the project",
      "concept": [
        "checks"
      ],
      "topics": [
        "verify"
      ]
    }
  ],
  "_pkglogo": "https://github.com/raubreywhite/pbn/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/raubreywhite/pbn/raw/HEAD/README.md",
  "_rundeps": [
    "callr",
    "charport",
    "cli",
    "codetools",
    "cpp11",
    "crayon",
    "cyclocomp",
    "data.table",
    "desc",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "hms",
    "isoband",
    "iterators",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "org",
    "otel",
    "patchwork",
    "pbmcapply",
    "pillar",
    "pkgconfig",
    "plnr",
    "prettyunits",
    "processx",
    "progress",
    "progressr",
    "ps",
    "purrr",
    "qs2",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppParallel",
    "remotes",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "pbn.Rmd",
      "filename": "pbn.html",
      "title": "Get started with pbn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What pbn is for",
        "The layout",
        "The run script",
        "The config and the scenarios",
        "The data steps",
        "The analyses and the controls",
        "The checks and the output function",
        "Running the plan",
        "Progress",
        "The results",
        "Results with data for each person",
        "The run log",
        "The checks",
        "A check that goes red",
        "A cleaning step that drops a row",
        "Imputation is data",
        "Stepping through one analysis by hand",
        "The output",
        "Checking the project",
        "Verifying a version",
        "Creating a project",
        "Freezing a version",
        "Starting a new version",
        "Manuscripts",
        "Running on an air-gapped server",
        "Blocks",
        "The one file",
        "The local proof",
        "On the server",
        "What pbn does not do yet"
      ],
      "created": "2026-11-16 19:11:13",
      "modified": "2026-11-23 18:12:28",
      "commits": 32
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "pbn",
  "_universes": [
    "raubreywhite"
  ],
  "_previous": "2026.12.9",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2026.12.11",
      "date": "2026-11-23T15:00:38.000Z",
      "distro": "resolute",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/3d09e073435401c68f2b44644b12113b2aae2a80aa7a29cf0da9c7fef1eaed08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2026.12.11",
      "date": "2026-11-23T15:00:39.000Z",
      "distro": "resolute",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/5095bb95ec41febcd67218549a8cdb44191bcaa253e737884a829be8b7f2df7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2026.12.11",
      "date": "2026-11-23T15:18:57.000Z",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/58c24146ddb7205f447cadb9b5a6b9dac165c612d39903d89e1c53d91840e036",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2026.12.11",
      "date": "2026-11-23T15:10:48.000Z",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/8ea38bd69da46e1fe507683ec168daac83e795aa5be1c2cb9dbedbe9343a254f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2026.12.11",
      "date": "2026-11-23T15:00:37.000Z",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/6f7f1a144dc15f9d3d9bb6ec59ea949af0960c4f3550de529ca7fef4bf47b334",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2026.12.11",
      "date": "2026-11-23T14:59:39.000Z",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/9bc9e837ade80fe19621c5c1e8fbd87901d48149bb759fc6150019bc15a4d574",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2026.12.11",
      "date": "2026-11-23T14:59:41.000Z",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/26e64f77fbf67ec94987067be4b7d5d41dd3ebf6aafa214fd9224950eaa6dcbb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2026.12.11",
      "date": "2026-11-23T14:59:39.000Z",
      "commit": "c07a01214c584bfcd41599414b0cf2cdbce24d24",
      "fileid": "https://r2.ropensci.org/e4620194731384c4426bcb8823b7816a6a1568d75f3c2a6c2d852ce1356b7bdc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/45198954171"
    }
  ]
}