Skip to content

DeclareDesign

1.1.1

Declare and Diagnose Research Designs

4packages depend
40.7Kdownloads / year
92.9%test coverage
8/13checks pass

Overview

About
Maintained by Alexander CoppockFirst published 2018-07-2919 releasesCRAN page ↗GitHub ↗

Researchers can characterize and learn about the properties of research designs before implementation using `DeclareDesign`. Ex ante declaration and diagnosis of designs can help researchers clarify the strengths and limitations of their designs and to improve their properties, and can help readers evaluate a research strategy prior to implementation and without access to results. It can also make it easier for designs to be shared, replicated, and critiqued.

Install

Health

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 6.4 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 1.09
92.9%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-07-16
    10 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-06
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-07
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
97%
Documented parameters
93%
Return-value docs
64%
References docs
0%

Downloads

40.7K
CRAN downloads in the past year
Rank #2,249 · ~112/day · ~3.4K/mo
Daily download trend is not available in this view yet.
1.8K30 days
10.4K90 days
40.7K1 year
Compare downloads with other packages →
Also on514 r2u27 autocran1.8K conda_forge

Repository

Repository
109Stars
15Forks
22Open issues
7Open PRs
14Releases
1,596Commits
12Contributors
researchdesignrsimulations
1,596 commits · Last activity 2026-04-28 · 0% stars, 30d

Stars over time

2025-06-04 · 1032026-07-07 · 109

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/declaredesign/declaredesign on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
30 external dependencies (excludes base and recommended)
Depends (4)
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

Code & Tests

Code Composition
R 14,702 (83%)Rd 3,040 (17%)
Code characteristics
Object systems
S314
Cyclomatic complexity
2.0 median / 27 max
Test cases
306 / 1.09 per code line

Test coverage

Line coverage

93%

Expression

93.6%

Tests / Examples

92.9% / 60% ex

Functions

159 31 exported

Complexity

3.6 avg / 27 max

Call network

159 nodes / 152 edges

Loading call graph…

Lowest coverage

159 functions
FunctionCycloCoverage
declare_estimands exp10%
model_handler exp10%
tidy_estimator exp10%
compare_partial20%
declare_time_warn10%
draw_assignment10%

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Package Timeline

19 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.1.1Latest
    2026-04-28 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0
    2025-10-15 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.10
    2024-04-21 · diff ↗
  • 1.0.8
    2024-03-07 · diff ↗
  • 1.0.6
    2024-01-17 · diff ↗
  • 1.0.4
    2023-08-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.2
    2023-01-10 · diff ↗
  • 1.0.0
    2022-06-20 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.30.0
    2022-01-28 · diff ↗
  • 0.28.0
    2021-08-21 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
Show 12 earlier events
  • 0.26.0
    2021-02-14 · diff ↗
  • 0.24.0
    2020-11-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.22.0
    2020-03-24 · diff ↗
  • 0.20.0
    2019-09-10 · diff ↗
  • 0.18.0
    2019-04-30 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.16.0
    2019-01-26 · diff ↗
  • 0.14.0
    2019-01-07 · diff ↗
  • 0.12.0
    2018-11-09 · diff ↗
  • 0.10.0
    2018-07-29
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-07-29
Total releases
19 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
134 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →