Skip to content

infer

1.1.0

Tidy Statistical Inference

3packages dependsuggested by 2
385.2Kdownloads / year
97.2%test coverage
9/13flavors OK

Overview

About

The objective of this package is to perform inference using an expressive statistical grammar that coheres with the tidy design framework.

Changes in 1.1.0
  • Fixed bug where adding shade_confidence_interval(NULL) or shade_p_value(NULL) to plots resulted in list() rather than the unmodified plot (#566).
  • Introduced support for arbitrary test statistics in calculate(). In addition to the pre-implemented calculate(stat) options, taken as strings, users can now supply a function defining any scalar-valued test statistic. See ?calculate() to learn more (#542).

From NEWS.md in the release

Install

Health

CRAN checks
4NOTE9OK
Check messages
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘pipe.Rd’
\arguments should not be documented without \usage.
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from:
  ‘withr’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 7.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE9 OK, 4 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 748 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 1.1.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
Help pages
24 (1 internal)includes a package overview page
Examples that run
100%18 run in a plain check
Exported functions with examples
86%
Documented parameters
93%
Return-value docs
65%
Help pages citing references
0%

Downloads

385.2K
CRAN downloads in the past year
Rank #697 · ~1.1K/day · ~32.1K/mo
Daily download trend is not available in this view yet.
25.8K30 days
75.5K90 days
385.2K1 year
Compare downloads with other packages →
Also on9.2K r2u5 autocran36.5K conda_forge255 c2d4u

Repository

795Stars
86Forks
7Open issues
0Open PRs
21Releases
1,936Commits
32Commit identities
1,936 commits · Last activity 2026-04-13 · 0% stars, 30d · Default branch at 1.1.0.9000, ahead of CRAN 1.1.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
88%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-10-06 · 7602026-07-29 · 795
PracticesBeta

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

Checks run against github.com/tidymodels/infer 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)
Code of conductContributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-04-13 · The repository has a site deploy workflow

pkgdown site last built 2025-12-18

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (3)
AirVS CodeRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)

Installing infer adds 32 packages (16 with compiled code, 32 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, patchwork 3.2 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
12indirect
Imports 3
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (14)
Author, Maintainer since 1.0.2 (2022) · added in 0.5.2
Author
Author · added in 0.3.1
Contributor · added in 0.3.0
Contributor · added in 0.4.0
Contributor · added in 0.2.0
Contributor · added in 0.2.0
Contributor · added in 0.1.1
Contributor · added in 0.4.0
Contributor
Contributor

Previously maintained by Andrew Bray (0.1.0 to 1.0.0).

Listed in earlier versions (1)
no longer listed · 0.1.1 to 0.3.1
Releases (22)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    record
    2025-12-18 · current release · diff ↗
  • 1.0.9
    record
    2025-06-26 · diff ↗
  • 1.0.8
    record
    2025-04-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.7
    record
    2024-03-25 · diff ↗
  • 1.0.6
    record
    2024-01-31 · diff ↗
  • 1.0.5
    record
    2023-09-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.4
    record
    2022-12-02 · diff ↗
  • 1.0.3
    record
    2022-08-22 · diff ↗
  • 1.0.2
    record
    2022-06-10 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2021-08-13 · diff ↗ ·
    removed 1 export
    GENERATION_TYPES
    added 5 exports
    assume, fit, fit.infer, ggplot_add, observe
  • R
    R 4.1.0 released · 2021-05-18
Show 16 earlier eventsHide 16 earlier events
  • 0.5.4
    record
    2021-01-13 · diff ↗ ·
    added 1 export
    rep_slice_sample
  • 0.5.3
    record
    2020-07-14 · diff ↗
  • 0.5.2
    record
    2020-06-14 · diff ↗ ·
    added 2 exports
    hypothesise, prop_test
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5.1
    record
    2019-11-19 · diff ↗
  • 0.5.0
    record
    2019-09-27 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.4.0.1
    record
    2019-04-22 · diff ↗
  • 0.4.0
    record
    2018-11-15 · diff ↗ ·
    added 7 exports
    GENERATION_TYPES, get_p_value, shade_ci, shade_confidence_interval, shade_p_value, shade_pvalue, visualise
  • 0.3.1
    record
    2018-08-07 · diff ↗
  • 0.3.0
    record
    2018-07-11 · diff ↗ ·
    added 5 exports
    conf_int, get_ci, get_confidence_interval, get_pvalue, p_value
  • 0.2.0
    record
    2018-05-15 · diff ↗ ·
    added 4 exports
    chisq_stat, chisq_test, t_stat, t_test
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.1
    record
    2018-01-22 · diff ↗ ·
    added 1 export
    rep_sample_n
  • 0.1.0
    record
    2018-01-08
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-01-08
Total releases
22 / 8 yrs
License
MIT + file LICENSE OSI · relicensed from CC0 in 1.0.2
Minimum R
≥ 4.1
Bundled data
4.7 KB / 1 file
Download size
2.6 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("infer")

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

It points to 10.21105/joss.03661.

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

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