Skip to content

CompAREdesign

2.4.0

Statistical Functions for the Design of Studies with Composite Endpoints

1packages depend
3.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Marta Bofill RoigFirst published 2020-12-099 releasesCRAN page ↗

It has been designed to calculate the required sample size in randomized clinical trials with composite endpoints. It also calculates the expected effect and the probability of observing the composite endpoint, among others. The methodology can be found in Bofill & Gómez (2019) doi:10.1002/sim.8092 and Gómez & Lagakos (2013) doi:10.1002/sim.5547.

Install

Health

CRAN checks
13OK
Slowest check: 5.5 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
68%
Return-value docs
54%
References docs
26%

Downloads

3.4K
CRAN downloads in the past year
Rank #11,817 · ~9/day · ~286/mo
Daily download trend is not available in this view yet.
31530 days
90390 days
3.4K1 year
Compare downloads with other packages →
Also on132 r2u13 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2025-06-17

Repository practices

Upstream repositoryBeta

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

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

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 2,171 (59%)Rd 1,100 (30%)Vignettes 409 (11%)
Code characteristics
Cyclomatic complexity
5.0 median / 49 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

26 26 exported

Complexity

15.5 avg / 49 max

Call network

26 nodes / 36 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (1)
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.4.0Latest
    2025-03-05 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.3.1
    2024-02-15 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.2
    2022-10-02 · diff ↗
  • 2.1
    2022-09-29 · diff ↗
  • 2.0
    2022-09-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.9
    2021-06-15 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.7
    2021-02-02 · diff ↗
  • 1.6
    2021-01-11 · diff ↗
  • 1.5
    2020-12-09
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-12-09
Total releases
9 / 6 yrs
License
GPL-3 OSI
Download size
184 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →