Skip to content

powertools

1.0.0Package record

Power and Sample Size Tools

0packages depend
3.2Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Power and sample size calculations for a variety of study designs and outcomes. Methods include t tests, ANOVA (including tests for interactions, simple effects and contrasts), proportions, categorical data (chi-square tests and proportional odds), linear, logistic and Poisson regression, alternative and coprimary endpoints, power for confidence intervals, correlation coefficient tests, cluster randomized trials, individually randomized group treatment trials, multisite trials, treatment-by-covariate interaction effects and nonparametric tests of location. Utilities are provided for computing various effect sizes. Companion package to the book "Power and Sample Size in R", Crespi (2025, ISBN:9781138591622). Further resources available at https://powerandsamplesize.org/.

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-release-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.0
README· In the repository, left out of the releaseVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
65 (4 internal)
Examples that run
100%64 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.2K
CRAN downloads in the past year
Rank #15,821 · ~9/day · ~265/mo
Daily download trend is not available in this view yet.
28530 days
77390 days
3.2K1 year
Compare downloads with other packages →
Also on83 r2u6 autocran

Repository

1Stars
1Forks
0Open issues
0Open PRs
0Releases
55Commits
2Commit identities
55 commits · Last activity 2026-03-04 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
72
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-12-29 · 12026-07-07 · 1
PracticesBeta

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

Checks run against github.com/powerandsamplesize/powertools on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing powertools adds 55 packages (29 with compiled code, 59 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2024)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    record
    2025-11-15 · current release · diff ↗
  • 0.1.3
    record
    2025-06-10 · diff ↗ ·
    removed 1 export
    es.fsq
    added 3 exports
    es.fsq.overall, es.fsq.partial, safe.uniroot
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2
    record
    2024-11-21 · diff ↗
  • 0.1.0
    record
    2024-11-14
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-11-14
Total releases
4 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
5.9 KB / 1 file
Download size
73 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("powertools")
Crespi, C. M., Liu, Z., & McGreevy, K. M. (2025). powertools: Power and Sample Size Tools (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.powertools

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 powertools version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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