Skip to content

graphicalMCP

0.3.0Package record

Graphical Multiple Comparison Procedures

0packages depend
8Kdownloads / year
93.2%test coverage
13/13flavors OK

Overview

About
Maintained by Dong XiCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Gilead Sciences, Inc.

Multiple comparison procedures (MCPs) control the familywise error rate in clinical trials. Graphical MCPs include many commonly used procedures as special cases; see Bretz et al. (2011) doi:10.1002/bimj.201000239, Lu (2016) doi:10.1002/sim.6985, and Xi et al. (2017) doi:10.1002/bimj.201600233. This package is a low-dependency implementation of graphical MCPs which allow mixed types of tests. It also includes power simulations and visualization of graphical MCPs.

Changes in 0.3.0
  • Added group sequential testing for graphical MCPs via graph_test_shortcut_gsd(), which extends graph_test_shortcut() to multiple analyses with per-hypothesis spending functions, information fractions, and a look_back option to use repeated or sequential p-values
  • Added spending functions spending_of(), spending_pocock(), spending_hsd(), spending_linear(), spending_wt() (Wang-Tsiatis), and spending_with_time() for a custom spending time
  • Added gs_boundaries(), gs_corr(), repeated_p(), and sequential_p()
  • Added vignettes on group sequential testing and on its validation against gsDesign and rpact
  • Renamed the Adj. P-value column to Adj.p in print.graph_report()
  • Added a warning in graph_create() for very small transition weights (Issue #97)
  • Plotting examples, vignettes, and tests are skipped when igraph or gMCP is not installed

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 10.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-04
  • ERROR11 OK, 2 ERROR2026-08-26
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-06
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-04
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 410 wordsVignettesYes · 8 · evaluation depends on the environmentNEWSYes · 67% structured · mentions 0.3.0Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
37 (11 internal)includes a package overview page
Examples that run
100%25 run in a plain check (2 of them under a condition)
Exported functions with examples
95%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
68%

Downloads

8K
CRAN downloads in the past year
Rank #5,300 · ~22/day · ~667/mo
Daily download trend is not available in this view yet.
64530 days
1.5K90 days
8K1 year
Compare downloads with other packages →
Also on121 r2u10 autocran

Repository

23Stars
1Forks
14Open issues
1Open PRs
6Releases
613Commits
7Commit identities
License file reads as Apache-2.0 · 613 commits · Last activity 2026-10-12 · +9.5% stars, 30d · Default branch at 0.3.0.9000, ahead of CRAN 0.3.0 (checked 2026-10-11) · Discussions: 3 posts
Responsiveness
How these are sampled
PRs merged (all time)
85%
Median days to close, 50 most recently updated closed issues
64
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-07 · 182026-10-05 · 23
PracticesBeta

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

Checks run against github.com/openpharma/graphicalmcp on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Issue templatesPR template
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-27 · The repository has a site deploy workflow

pkgdown site last built 2026-10-11

Coverage (1)
Coverage reporting
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-08-21
    Pull request it wrote: opened by a project member
    Commits: at least 17 crediting it in the message
Models named in its commits
  • Claude Opus 4.89 commits · Aug to Oct 2026
  • Claude Fable 58 commits · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
23 external dependencies (excludes base and recommended)

Installing graphicalMCP adds 2 packages (2 with compiled code, 1.2 MB of source tarballs). Heaviest: mvtnorm 1.0 MB, matrixStats 207 KB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.2.5 (2024)
Copyright holder, Funder
Releases (5)

Pick two releases to compare their code metrics.

  • 0.3.0Latest
    record
    2026-08-27 · current release · diff ↗ ·
    added 11 exports
    graph_test_shortcut_gsd, gs_boundaries, gs_corr, repeated_p, sequential_p, spending_hsd, spending_linear, spending_of, spending_pocock, spending_with_time, spending_wt
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.9
    record
    2026-03-21 · diff ↗
  • 0.2.8
    record
    2025-05-07 · diff ↗ ·
    added 10 exports
    adjust_p_hochberg, adjust_weights_hochberg, bonferroni_holm_weighted, bonferroni_weighted, dunnett_closure_weighted, dunnett_single_step, dunnett_single_step_weighted, hochberg, hommel, sidak
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.6
    record
    2024-11-08 · diff ↗
  • 0.2.5
    record
    2024-07-13
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-07-13
Total releases
5 / 2 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.1.0
Download size
1.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("graphicalMCP")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for graphicalMCP version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy