{
  "_id": "6aca93e2fe5cc25786e8bb93",
  "Package": "DesignLibrary",
  "Type": "Package",
  "Title": "Library of Research Designs",
  "Version": "0.1.10",
  "Authors@R": "c(\nperson(\"Graeme\", \"Blair\", , \"graeme.blair@ucla.edu\", role = \"aut\"),\nperson(\"Jasper\", \"Cooper\", , \"jjc2247@columbia.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Alexander\", \"Coppock\", , \"alex.coppock@yale.edu\", role = \"aut\"),\nperson(\"Macartan\", \"Humphreys\", , \"macartan@gmail.com\", role = \"aut\"),\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 simple interface to build designs using the package\n'DeclareDesign'. In one line of code, users can specify the\nparameters of individual designs and diagnose their properties.\nThe designers can also be used to compare performance of a\ngiven design across a range of combinations of parameters, such\nas effect size, sample size, and assignment probabilities.",
  "URL": "https://declaredesign.org/r/designlibrary/,\nhttps://github.com/DeclareDesign/DesignLibrary",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Repository": "https://declaredesign.r-universe.dev",
  "Date/Publication": "2026-09-21 00:29:06 UTC",
  "RemoteUrl": "https://github.com/declaredesign/designlibrary",
  "RemoteRef": "HEAD",
  "RemoteSha": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 19:33:57 UTC",
    "User": "root"
  },
  "Author": "Graeme Blair [aut],\nJasper Cooper [aut, cre],\nAlexander Coppock [aut],\nMacartan Humphreys [aut],\nClara Bicalho [aut],\nNeal Fultz [aut],\nLily Medina [aut]",
  "Maintainer": "Jasper Cooper <jjc2247@columbia.edu>",
  "_user": "declaredesign",
  "_type": "src",
  "_file": "DesignLibrary_0.1.10.tar.gz",
  "_fileid": "https://r2.ropensci.org/b708e8842660e1272568b876fdd77360dcb891c9f747615e8436317bf06ac45e",
  "_filesize": 260333,
  "_sha256": "b708e8842660e1272568b876fdd77360dcb891c9f747615e8436317bf06ac45e",
  "_expires": "2027-01-18T19:37:04.000Z",
  "_created": "2026-10-10T19:33:57.000Z",
  "_published": "2026-10-10T19:37:06.897Z",
  "_buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114295741708,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11680540816"
    },
    {
      "job": 114295741720,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11680102527"
    },
    {
      "job": 114295741724,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11680327206"
    },
    {
      "job": 114295741711,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11680710458"
    },
    {
      "job": 114295119477,
      "time": 190,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11680137366"
    },
    {
      "job": 114295741707,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11680775385"
    },
    {
      "job": 114295741696,
      "time": 102,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11680685517"
    },
    {
      "job": 114295741662,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11680242189"
    },
    {
      "job": 114295741671,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11680147408"
    }
  ],
  "_upstream": "https://github.com/declaredesign/designlibrary",
  "_commit": {
    "id": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
    "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 in a batch built on 2026-09-17, estimatr 2.0.0 among them.\nThe pak that setup-r-dependencies installs reads gzip, bzip2, xz and zip\nbut not zstd, so the macOS job died at the dependency install with\n\"unknown archive type\" (r-lib/pkgdepends#485). Posit Package Manager\nstill serves gzip builds of the same versions.\n\nRevert to use-public-rspm: true once a released pak reads zstd.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n",
    "time": 1789950546
  },
  "_maintainer": {
    "name": "Jasper Cooper",
    "email": "jjc2247@columbia.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "DeclareDesign",
      "version": ">= 0.17.0",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "randomizr",
      "version": ">= 0.16.1",
      "role": "Depends"
    },
    {
      "package": "fabricatr",
      "version": ">= 0.8.0",
      "role": "Depends"
    },
    {
      "package": "estimatr",
      "version": ">= 0.16.0",
      "role": "Depends"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "declaredesign",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-35",
      "n": 7
    },
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 30,
  "_contributors": [
    {
      "user": "jaspercooper",
      "count": 688,
      "uuid": 6787409
    },
    {
      "user": "clarabicalho",
      "count": 266,
      "uuid": 25605156
    },
    {
      "user": "macartan",
      "count": 74,
      "uuid": 12734205
    },
    {
      "user": "lilymedina",
      "count": 72,
      "uuid": 22347212
    },
    {
      "user": "graemeblair",
      "count": 36,
      "uuid": 3320015
    },
    {
      "user": "acoppock",
      "count": 29,
      "uuid": 9171009
    },
    {
      "user": "nfultz",
      "count": 18,
      "uuid": 418638
    },
    {
      "user": "nick-rivera",
      "count": 8,
      "uuid": 35855731
    },
    {
      "user": "lukesonnet",
      "count": 4,
      "uuid": 5298599
    },
    {
      "user": "sisi-huang",
      "count": 1,
      "uuid": 22818792
    }
  ],
  "_userbio": {
    "uuid": 15285286,
    "type": "organization",
    "name": "DeclareDesign",
    "followers": 19,
    "description": "Tools for declaring and diagnosing the properties of research designs"
  },
  "_downloads": {
    "count": 1556,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DesignLibrary"
  },
  "_devurl": "https://github.com/declaredesign/designlibrary",
  "_pkgdown": "https://declaredesign.org/r/designlibrary/",
  "_searchresults": 141,
  "_rbuild": "4.6.1",
  "_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": [
    "binary_iv_designer",
    "block_cluster_two_arm_designer",
    "cluster_sampling_designer",
    "factorial_designer",
    "get_design_code",
    "match.call.defaults",
    "mediation_analysis_designer",
    "multi_arm_designer",
    "pretest_posttest_designer",
    "process_tracing_designer",
    "randomized_response_designer",
    "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"
  ],
  "_help": [
    {
      "page": "assignment_string",
      "title": "Generates string of assignment of value to argument",
      "topics": [
        "assignment_string"
      ]
    },
    {
      "page": "binary_iv_designer",
      "title": "Create a binary instrumental variables design",
      "concept": [
        "experiment"
      ],
      "topics": [
        "binary_iv_designer",
        "simple_iv_designer"
      ]
    },
    {
      "page": "block_cluster_two_arm_designer",
      "title": "Create a two-arm design with blocks and clusters",
      "concept": [
        "blocking",
        "experiment"
      ],
      "topics": [
        "block_cluster_two_arm_designer"
      ]
    },
    {
      "page": "cluster_sampling_designer",
      "title": "Create a design for cluster random sampling",
      "concept": [
        "clusters",
        "measurement",
        "observational"
      ],
      "topics": [
        "cluster_sampling_designer"
      ]
    },
    {
      "page": "code_fixer",
      "title": "Substitute approach",
      "topics": [
        "code_fixer"
      ]
    },
    {
      "page": "construct_design_code",
      "title": "Generates clean code string that reproduces design",
      "topics": [
        "construct_design_code"
      ]
    },
    {
      "page": "factorial_designer",
      "title": "Create a factorial design",
      "concept": [
        "factorial"
      ],
      "topics": [
        "factorial_designer"
      ]
    },
    {
      "page": "get_design_code",
      "title": "Get the code from a design",
      "topics": [
        "get_design_code"
      ]
    },
    {
      "page": "match.call.defaults",
      "title": "Argument matching with defaults",
      "topics": [
        "match.call.defaults"
      ]
    },
    {
      "page": "mediation_analysis_designer",
      "title": "Create a design for mediation analysis",
      "concept": [
        "experiment",
        "mediation"
      ],
      "topics": [
        "mediation_analysis_designer"
      ]
    },
    {
      "page": "multi_arm_designer",
      "title": "Create a design with multiple experimental arms",
      "concept": [
        "experiment",
        "multiarm trial"
      ],
      "topics": [
        "multi_arm_designer"
      ]
    },
    {
      "page": "pretest_posttest_designer",
      "title": "Create a pretest-posttest design",
      "concept": [
        "baseline",
        "difference-in-differences",
        "experiment"
      ],
      "topics": [
        "pretest_posttest_designer"
      ]
    },
    {
      "page": "process_tracing_designer",
      "title": "Create a process-tracing design",
      "concept": [
        "process tracing",
        "qualitative"
      ],
      "topics": [
        "process_tracing_designer"
      ]
    },
    {
      "page": "randomized_response_designer",
      "title": "Create a randomized response design",
      "concept": [
        "descriptive",
        "experiment"
      ],
      "topics": [
        "randomized_response_designer"
      ]
    },
    {
      "page": "regression_discontinuity_designer",
      "title": "Create a regression discontinuity design",
      "concept": [
        "observational",
        "regression discontinuity"
      ],
      "topics": [
        "regression_discontinuity_designer"
      ]
    },
    {
      "page": "return_args",
      "title": "Generates character string for non-fixed arguments in a designer using substitution approach.",
      "topics": [
        "return_args"
      ]
    },
    {
      "page": "spillover_designer",
      "title": "Create a design with spillovers",
      "concept": [
        "experiment",
        "spillovers"
      ],
      "topics": [
        "simple_spillover_designer",
        "spillover_designer"
      ]
    },
    {
      "page": "str_within",
      "title": "Takes substring between matched strings. Avoids dependency on stringr package.",
      "topics": [
        "str_within"
      ]
    },
    {
      "page": "sub_expr_text",
      "title": "Substitute text from expressions in design code",
      "topics": [
        "sub_expr_text"
      ]
    },
    {
      "page": "two_arm_attrition_designer",
      "title": "Create design with risk of attrition or post treatment conditioning",
      "concept": [
        "post-treatment"
      ],
      "topics": [
        "two_arm_attrition_designer"
      ]
    },
    {
      "page": "two_arm_covariate_designer",
      "title": "Create a simple two arm design with a possibly prognostic covariate",
      "concept": [
        "experiment"
      ],
      "topics": [
        "two_arm_covariate_designer"
      ]
    },
    {
      "page": "two_arm_designer",
      "title": "Create a one-level two-arm design",
      "concept": [
        "experiment"
      ],
      "topics": [
        "simple_two_arm_designer",
        "two_arm_designer"
      ]
    },
    {
      "page": "two_by_two_designer",
      "title": "Create a two-by-two factorial design",
      "concept": [
        "experiment factorial"
      ],
      "topics": [
        "simple_factorial_designer",
        "two_by_two_designer"
      ]
    }
  ],
  "_readme": "https://github.com/declaredesign/designlibrary/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "DeclareDesign",
    "estimatr",
    "fabricatr",
    "Formula",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "randomizr",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_score": 6.772592469468037,
  "_indexed": true,
  "_nocasepkg": "designlibrary",
  "_universes": [
    "declaredesign"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-10-10T19:36:13.000Z",
      "distro": "resolute",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/ec6d1eb792e691721c4129134ffece7499f8736838d34c67da1a8aa1eb4bb43c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-10-10T19:36:24.000Z",
      "distro": "resolute",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/fa5f54df09c6fb4d98c69393b9fbdca1ce3d0594a314390014c078531113d339",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-10-10T19:35:59.000Z",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/4b7a8722da0969494671ba42a6b107faf782cf4e88ea06cc0d2991a67cf84545",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-10-10T19:35:58.000Z",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/5160394a8fda59057b8f6e3b0fcca53270e2e91ab63d11a657df4ba5ddee2b4f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-10-10T19:36:19.000Z",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/4eb47e47886feb8e863592f2169cfeb6ec5763c34055d450c72392474e93cded",
      "status": "success",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-10-10T19:35:25.000Z",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/6d09eebf8478013ca8170cd96225bb98bd06705c5d0d70d401f0a5fd85a4b793",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-10-10T19:35:10.000Z",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/47bb08ba68133bea4dab04e3f27ceac61157ee444506d707e42fa165cd898cad",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-10-10T19:35:14.000Z",
      "commit": "25c894be18e0d2b5625fdeac0c2c761a85d344b4",
      "fileid": "https://r2.ropensci.org/59e3f3967f9dfcfa4bb3cdfb798afaa97cdb9b53d65bf16d9496aa9eea34e22c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/declaredesign/actions/runs/38080089604"
    }
  ]
}