{
  "_id": "6afa7f48887ef40d9d358c14",
  "Package": "DesignLibrary",
  "Title": "A Library of Declared Designs",
  "Version": "2.0.0",
  "Authors@R": "c(\nperson(\"Macartan\", \"Humphreys\", , \"macartan.humphreys@wzb.eu\", role = \"aut\"),\nperson(\"Graeme\", \"Blair\", , \"graeme.blair@ucla.edu\", role = \"aut\"),\nperson(\"Jasper\", \"Cooper\", , \"jjc2247@columbia.edu\", role = \"aut\"),\nperson(\"Alexander\", \"Coppock\", , \"acoppock@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Clara\", \"Bicalho\", , \"clarabmcorreia@gmail.com\", role = \"aut\"),\nperson(\"Neal\", \"Fultz\", , \"nfultz@gmail.com\", role = \"aut\"),\nperson(\"Lily\", \"Medina\", , \"lilymiru@gmail.com\", role = \"aut\")\n)",
  "Description": "A lightweight library of research designs declared with\n'DeclareDesign'. Designs live as self-contained R files;\neditable parameters are read from the design itself. Optional\nYAML metadata adds labels, categories, tips, and book aliases.\nIncludes maintainer tools to index, audit, and bake small\ndiagnosis previews, plus a bundled Shiny browser\n(`designs_shiny_app()`).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "pkgdown",
  "URL": "https://github.com/DeclareDesign/DesignLibrary,\nhttps://declaredesign.org/r/designlibrary/",
  "BugReports": "https://github.com/DeclareDesign/DesignLibrary/issues",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://declaredesign.r-universe.dev",
  "Date/Publication": "2026-11-16 03:21:48 UTC",
  "RemoteUrl": "https://github.com/declaredesign/designlibrary",
  "RemoteRef": "HEAD",
  "RemoteSha": "0830e301997506c323f2546214a2dbd861375fa2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-16 03:52:57 UTC",
    "User": "root"
  },
  "Author": "Macartan Humphreys [aut],\nGraeme Blair [aut],\nJasper Cooper [aut],\nAlexander Coppock [aut, cre],\nClara Bicalho [aut],\nNeal Fultz [aut],\nLily Medina [aut]",
  "Maintainer": "Alexander Coppock <acoppock@gmail.com>",
  "_user": "declaredesign",
  "_type": "src",
  "_file": "DesignLibrary_2.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/62b2c878cbcf449444213f00bf3506badb8d1a84bc08be7f7f94f21291f35d5d",
  "_filesize": 2066953,
  "_sha256": "62b2c878cbcf449444213f00bf3506badb8d1a84bc08be7f7f94f21291f35d5d",
  "_expires": "2027-02-24T03:57:55.000Z",
  "_created": "2026-11-16T03:52:57.000Z",
  "_published": "2026-11-16T03:58:00.385Z",
  "_upstream": "https://github.com/declaredesign/designlibrary",
  "_status": "success",
  "_maintainer": {
    "name": "Alexander Coppock",
    "email": "acoppock@gmail.com",
    "login": "acoppock",
    "description": "",
    "uuid": 9171009
  },
  "_jobs": [
    {
      "job": 133080422802,
      "time": 232,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14195959812"
    },
    {
      "job": 133080422813,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14196570686"
    },
    {
      "job": 133080422839,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14196357951"
    },
    {
      "job": 133080422781,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14196705338"
    },
    {
      "job": 133079157879,
      "time": 247,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14195439110"
    },
    {
      "job": 133080422816,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14196660346"
    },
    {
      "job": 133080422875,
      "time": 112,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14196198678"
    },
    {
      "job": 133080422850,
      "time": 118,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14196735184"
    },
    {
      "job": 133080422823,
      "time": 118,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14196113786"
    }
  ],
  "_buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993",
  "_commit": {
    "id": "0830e301997506c323f2546214a2dbd861375fa2",
    "author": "Alexander Coppock <acoppock@users.noreply.github.com>",
    "committer": "Alexander Coppock <acoppock@users.noreply.github.com>",
    "message": "Use the DeclareDesign site colors and the shared Software menu [skip ci]\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1794799308
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "DeclareDesign",
      "version": ">= 2.0.0",
      "role": "Depends"
    },
    {
      "package": "fabricatr",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "randomizr",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "estimatr",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "generics",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "margins",
      "role": "Suggests"
    },
    {
      "package": "broom",
      "role": "Suggests"
    }
  ],
  "_owner": "declaredesign",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-32",
      "n": 6
    },
    {
      "week": "2026-34",
      "n": 18
    },
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 26
    },
    {
      "week": "2026-43",
      "n": 7
    },
    {
      "week": "2026-44",
      "n": 24
    },
    {
      "week": "2026-45",
      "n": 6
    },
    {
      "week": "2026-46",
      "n": 1
    },
    {
      "week": "2026-47",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "archive/master",
      "date": "2026-09-21"
    }
  ],
  "_stars": 30,
  "_contributors": [
    {
      "user": "acoppock",
      "count": 83,
      "uuid": 9171009
    },
    {
      "user": "macartan",
      "count": 28,
      "uuid": 12734205
    }
  ],
  "_userbio": {
    "uuid": 15285286,
    "type": "organization",
    "name": "DeclareDesign",
    "followers": 19,
    "description": "Tools for declaring and diagnosing the properties of research designs"
  },
  "_downloads": {
    "count": 1051,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DesignLibrary"
  },
  "_devurl": "https://github.com/declaredesign/designlibrary",
  "_pkgdown": "https://declaredesign.org/r/designlibrary/",
  "_searchresults": 81,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DesignLibrary.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/declaredesign/designlibrary",
  "_realowner": "declaredesign",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-08-09"
    },
    {
      "version": "0.1.1",
      "date": "2018-08-25"
    },
    {
      "version": "0.1.2",
      "date": "2018-11-12"
    },
    {
      "version": "0.1.3",
      "date": "2019-05-02"
    },
    {
      "version": "0.1.4",
      "date": "2019-06-17"
    },
    {
      "version": "0.1.5.5",
      "date": "2020-12-01"
    },
    {
      "version": "0.1.6",
      "date": "2021-03-02"
    },
    {
      "version": "0.1.8",
      "date": "2021-09-02"
    },
    {
      "version": "0.1.10",
      "date": "2021-10-18"
    }
  ],
  "_exports": [
    "audit_designs",
    "bake_previews",
    "binary_iv_designer",
    "block_cluster_two_arm_designer",
    "build_docs",
    "cluster_sampling_designer",
    "contributor_checklist",
    "copy_library_shiny",
    "design_info",
    "design_profile",
    "designs_shiny_app",
    "excluded_diagnosands",
    "factorial_designer",
    "get_args",
    "get_code",
    "get_design_code",
    "get_preview",
    "has_preview",
    "install_library_dependencies",
    "list_designs",
    "make_design",
    "make_index",
    "match.call.defaults",
    "mediation_analysis_designer",
    "multi_arm_designer",
    "param_coverage_gaps",
    "param_coverage_report",
    "preferred_diagnosands",
    "pretest_posttest_designer",
    "process_tracing_designer",
    "randomized_response_designer",
    "refresh_library",
    "regression_discontinuity_designer",
    "simple_factorial_designer",
    "simple_iv_designer",
    "simple_spillover_designer",
    "simple_two_arm_designer",
    "spillover_designer",
    "two_arm_attrition_designer",
    "two_arm_covariate_designer",
    "two_arm_designer",
    "two_by_two_designer",
    "write_audit_report"
  ],
  "_help": [
    {
      "page": "audit_designs",
      "title": "Audit one or more designs",
      "topics": [
        "audit_designs"
      ]
    },
    {
      "page": "bake_previews",
      "title": "Bake compact diagnosis previews into inst/previews",
      "topics": [
        "bake_previews"
      ]
    },
    {
      "page": "binary_iv_designer",
      "title": "Create a binary instrumental variables design",
      "topics": [
        "binary_iv_designer"
      ]
    },
    {
      "page": "block_cluster_two_arm_designer",
      "title": "Create a blocked and clustered two-arm design",
      "topics": [
        "block_cluster_two_arm_designer"
      ]
    },
    {
      "page": "build_docs",
      "title": "Build the pkgdown site (Dropbox-safe)",
      "topics": [
        "build_docs"
      ]
    },
    {
      "page": "cluster_sampling_designer",
      "title": "Create a two-stage cluster sampling design",
      "topics": [
        "cluster_sampling_designer"
      ]
    },
    {
      "page": "contributor_checklist",
      "title": "Contributor checklist for a design",
      "topics": [
        "contributor_checklist"
      ]
    },
    {
      "page": "copy_library_shiny",
      "title": "Copy the bundled Shiny app to a standalone folder",
      "topics": [
        "copy_library_shiny"
      ]
    },
    {
      "page": "design_info",
      "title": "Design metadata (YAML + defaults)",
      "topics": [
        "design_info"
      ]
    },
    {
      "page": "design_profile",
      "title": "Character profile for a design (same prose as printing 'design_info()')",
      "topics": [
        "design_profile"
      ]
    },
    {
      "page": "designs_shiny_app",
      "title": "Launch the DesignLibrary Shiny browser",
      "topics": [
        "designs_shiny_app"
      ]
    },
    {
      "page": "excluded_diagnosands",
      "title": "Diagnosands excluded from display by YAML",
      "topics": [
        "excluded_diagnosands"
      ]
    },
    {
      "page": "factorial_designer",
      "title": "Create a 2^k factorial design",
      "topics": [
        "factorial_designer"
      ]
    },
    {
      "page": "get_args",
      "title": "Editable parameters for a design",
      "topics": [
        "get_args"
      ]
    },
    {
      "page": "get_code",
      "title": "Code for a design: simple 'make_design()' call and/or full source",
      "topics": [
        "get_code"
      ]
    },
    {
      "page": "get_design_code",
      "title": "Defunct helpers from DesignLibrary 0.1",
      "topics": [
        "get_design_code",
        "match.call.defaults"
      ]
    },
    {
      "page": "get_preview",
      "title": "Load a baked diagnosis preview",
      "topics": [
        "get_preview"
      ]
    },
    {
      "page": "has_preview",
      "title": "Whether a baked preview exists for a design",
      "topics": [
        "has_preview"
      ]
    },
    {
      "page": "install_library_dependencies",
      "title": "Install DesignLibrary system dependencies",
      "topics": [
        "install_library_dependencies"
      ]
    },
    {
      "page": "list_designs",
      "title": "List designs in the library",
      "topics": [
        "list_designs"
      ]
    },
    {
      "page": "make_design",
      "title": "Build a design, optionally with redesigned parameters",
      "topics": [
        "make_design"
      ]
    },
    {
      "page": "make_index",
      "title": "Build an in-memory index of all designs",
      "topics": [
        "make_index"
      ]
    },
    {
      "page": "mediation_analysis_designer",
      "title": "Create a mediation analysis design",
      "topics": [
        "mediation_analysis_designer"
      ]
    },
    {
      "page": "multi_arm_designer",
      "title": "Create a multi-arm design",
      "topics": [
        "multi_arm_designer"
      ]
    },
    {
      "page": "param_coverage_gaps",
      "title": "Objects declared before design, used by it, but missing from design params",
      "topics": [
        "param_coverage_gaps"
      ]
    },
    {
      "page": "param_coverage_report",
      "title": "Report declared-before-design objects missing from design parameters",
      "topics": [
        "param_coverage_report"
      ]
    },
    {
      "page": "preferred_diagnosands",
      "title": "Preferred diagnosands declared in a design's YAML",
      "topics": [
        "preferred_diagnosands"
      ]
    },
    {
      "page": "pretest_posttest_designer",
      "title": "Create a pretest-posttest design",
      "topics": [
        "pretest_posttest_designer"
      ]
    },
    {
      "page": "print.design_library_args",
      "title": "Print the parameter table from get_args()",
      "topics": [
        "print.design_library_args"
      ]
    },
    {
      "page": "process_tracing_designer",
      "title": "Create a process tracing design with two clues",
      "topics": [
        "process_tracing_designer"
      ]
    },
    {
      "page": "randomized_response_designer",
      "title": "Create a randomized response design",
      "topics": [
        "randomized_response_designer"
      ]
    },
    {
      "page": "refresh_library",
      "title": "Refresh the library (maintainer one-stop)",
      "topics": [
        "refresh_library"
      ]
    },
    {
      "page": "regression_discontinuity_designer",
      "title": "Create a regression discontinuity design with a polynomial fit",
      "topics": [
        "regression_discontinuity_designer"
      ]
    },
    {
      "page": "simple_two_arm_designer",
      "title": "Defunct designer aliases from DesignLibrary 0.1",
      "topics": [
        "simple_factorial_designer",
        "simple_iv_designer",
        "simple_spillover_designer",
        "simple_two_arm_designer"
      ]
    },
    {
      "page": "spillover_designer",
      "title": "Create a two-arm design with spillovers within groups",
      "topics": [
        "spillover_designer"
      ]
    },
    {
      "page": "two_arm_attrition_designer",
      "title": "Create a two-arm design with attrition",
      "topics": [
        "two_arm_attrition_designer"
      ]
    },
    {
      "page": "two_arm_covariate_designer",
      "title": "Create a two-arm design with a possibly prognostic covariate",
      "topics": [
        "two_arm_covariate_designer"
      ]
    },
    {
      "page": "two_arm_designer",
      "title": "Create a one-level two-arm design",
      "topics": [
        "two_arm_designer"
      ]
    },
    {
      "page": "two_by_two_designer",
      "title": "Create a two-by-two factorial design",
      "topics": [
        "two_by_two_designer"
      ]
    },
    {
      "page": "write_audit_report",
      "title": "Write audit results to CSV, markdown, and plain text under tools/",
      "topics": [
        "write_audit_report"
      ]
    }
  ],
  "_readme": "https://github.com/declaredesign/designlibrary/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "DeclareDesign",
    "dplyr",
    "estimatr",
    "fabricatr",
    "Formula",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "randomizr",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "contributing.Rmd",
      "filename": "contributing.html",
      "title": "Contributing a design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The short version",
        "1. Fork",
        "2. Add your file",
        "3. Refresh",
        "4. Check",
        "5. Pull request",
        "YAML fields",
        "Checklist"
      ],
      "created": "2026-08-05 12:22:44",
      "modified": "2026-10-28 01:11:42",
      "commits": 8
    },
    {
      "source": "DesignLibrary.Rmd",
      "filename": "DesignLibrary.html",
      "title": "DesignLibrary: a library of declared designs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The idea",
        "What a design file looks like",
        "What designs are included?",
        "Use DesignLibrary to make a design",
        "Change parameters and simulate",
        "Browse in Shiny",
        "Maintainer tools"
      ],
      "created": "2026-09-26 15:09:06",
      "modified": "2026-10-28 01:11:42",
      "commits": 5
    },
    {
      "source": "upgrading.Rmd",
      "filename": "upgrading.html",
      "title": "Upgrading from DesignLibrary 0.1: what changes, what does not, and why",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The short version",
        "What does not change",
        "What changes, and why",
        "Removed functions",
        "block_cluster_two_arm_designer() takes new arguments",
        "multi_arm_designer() has a larger default sample",
        "Two renamings that change no values",
        "args_to_fix is ignored",
        "Designs are now all DeclareDesign 2.0 designs",
        "Sweeping a parameter",
        "Porting an existing script",
        "What is new"
      ],
      "created": "2026-10-26 19:24:48",
      "modified": "2026-10-28 01:11:42",
      "commits": 8
    }
  ],
  "_score": 7.537542758121561,
  "_indexed": true,
  "_nocasepkg": "designlibrary",
  "_universes": [
    "declaredesign",
    "acoppock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-11-16T03:56:42.000Z",
      "distro": "resolute",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/6466229232e6de134681993abd0ad730bf13ba5e43db915b851d08a12f0ec216",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-11-16T03:55:37.000Z",
      "distro": "resolute",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/33b77cd8fd49f4728600db3c6099cca9cf999dbda71dbf44d1483d85d22d8970",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-11-16T03:55:30.000Z",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/3b1339bfd65d7934b6d52c1c6716b7e09a977a70788b33caa5b1b5adb5ea0b86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-11-16T03:55:19.000Z",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/b268659b62a0b353de22edf6f79e2a4f6d97ce9a1006df2778b1797057419fd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-11-16T03:55:29.000Z",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/3c23576cc4f3992e8962f3bfed2d545d451022765bd205b53bd0b8d6622ea3a9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-16T03:54:42.000Z",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/2c93a826b5bdedb9d349c5eb1e888c37278303031e8236a11051c2879a0fd5a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-16T03:54:41.000Z",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/c69923ffa4c1f184405b464887ec48f94725270d93b09f1782cdb892e49451c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-16T03:54:45.000Z",
      "commit": "0830e301997506c323f2546214a2dbd861375fa2",
      "fileid": "https://r2.ropensci.org/cdbb999ad5b621d46360706f0da578948b28c8d064010236018d42485dd68dfe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/43800419993"
    }
  ]
}