R Observatory
Search
install.packages("infer")
CRAN checks, method
OKnotes on 4 of 13
CRAN 30-day downloads, method
25,860−2% down on the 30 days before, the worse direction
Test coverage, method
97%of lines run by tests

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

Maintainer
Simon Couch
Latest release
18 Dec 2025
First release
8 Jan 2018

Compare with another package

More details
Releases
22
Needs compilation
No
Needs R
>= 4.1
Config/Needs/website
tidyverse/tidytemplate
Config/testthat/edition
3
Config/usethis/last-upkeep
2025-04-25
LazyData
true
RoxygenNote
7.3.3
Task views (1)
Collections (1) Method, Collections
Subjects (2) Method, Subjects
Cite

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.

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-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 4 of 13 check platforms have notes.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    1.1.0
    Time taken
    386 s

    Rd contents: Note

    Rd files without \usage:

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    1.1.0
    Time taken
    268 s

    Rd contents: Note

    Rd files without \usage:

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    1.1.0
    Time taken
    271 s

    dependencies in R code: Note

    Namespace in Imports field not imported from:

    Full output

  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    1.1.0
    Time taken
    256 s

    dependencies in R code: Note

    Namespace in Imports field not imported from:

    Full output

  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    363 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.1.0
    Time taken
    90 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    441 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    485 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    369 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    373 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.1.0
    Time taken
    89 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    437 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.1.0
    Time taken
    345 s
  • 4 Note
  • 9 OK
Check output (2)

Rd contents, Note on 2 platforms

Rd files without \usage:
  ‘pipe.Rd’
\arguments should not be documented without \usage.

dependencies in R code, Note on 2 platforms

Namespace in Imports field not imported from:
  ‘withr’
All declared Imports should be used.

Check results on CRAN

Total downloads in the last 30 days
29,297−1.3% down on the 30 days before, the worse directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

700 of 26,530

CRAN

25,860 downloads in the last 30 days

Rank
700 of 26,530
Change
−2% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

768 downloads in the last 30 days

Rank
938 of 30,526
Change
+38.6% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

6 downloads in the last 30 days

Rank
8,234 of 29,212
Change
−64.7% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

2,644 downloads in the last 30 days

Rank
608 of 3,828
Change
−1.5% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

19 downloads in the last 30 days

Rank
929 of 7,575
Change
−61.2% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
17
Dependent packages
3
Suggested by
2
Needs (17)
Installing it adds
32 packages, 31.9 MB of source
Of those, need compilation
16
Optional extras (10)
Dependent packages (3)
PackageTitleDownloads in 30 days
tidymodelsEasily Install and Load the 'Tidymodels' Packages85,663
moderndiveTidyverse-Friendly Introductory Linear Regression3,722
traumarCalculate Metrics for Trauma System Performance339
Functions
185
Public exports
30
Lines of R code
6,736
Median complexity
2
Functions (185)
Size and composition

Lines by kind (20,983)

KindLinesShare
R code6,73632%
Tests8,73042%
Documentation2,44312%
Guides3,07415%

Lines by language

LanguageLinesShare
R12,69261%
Vignettes3,06815%
Markdown2,77413%
Rd2,44312%
Other60%

Languages are counted from file extensions.

Files
252
R functions
185
Object systems
S3: 27 methods
Deprecated functions
4
Complexity
Median
2
Mean
3.05
Highest
19
Median lines per function
16
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
185
Calls
349
Unconnected
19
Groups
3
Growth (22 releases)
Total lines by release
1,755 on 8 Jan 201820,983 on 18 Dec 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
97.3%
Expressions run by tests
97.1%
Test cases
189
Exports named in tests
93.3%
Coverage by file (18)
Coverage run
Lines counted
2,760
Lines the tests ran
2,684
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat, tinytest
Test cases
189
Snapshot tests
431
Lines of tests
8,730
Test lines per line of code
2.4
Exports documented
96.7%
Arguments documented
93.4%
Return value documented
65%
Help pages with examples
75%
Examples run in checks
100%
Guides (6)
Other documentation
README
Yes, 748 words
Release notes file
Yes
Help pages
24
Lines of documentation
2,443
DatasetSizeColumns
gssSubset of data from the General Social Survey (GSS).500 × 11year, age, sex, college, partyid, hompop and 5 more
Earlier names (1)
  • Albert Kim

tidymodels / infer on github.com

Stars
795no change on 30 days ago
Forks
86
Open issues
7
Last commit
13 Apr 2026
Activity
Commits
1,936
Open pull requests
0
Tagged releases
21
Latest tagged release
v1.1.0, 18 Dec 2025
In development
Default branch at 1.1.0.9000, ahead of CRAN 1.1.0 (checked 2026-10-25)
Issues closed in
6 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
88%
Created
5 Jun 2017
Licence file reads as
–
Development practices (14)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct, Contributing guide
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-04-13
The repository has a site deploy workflow
pkgdown site last built 2025-12-18
CoverageCoverage reporting (Codecov)
Reproducibility and dev environmentdata-raw/
Lint, format, editorAir, VS Code, RStudio project
Git structural.gitattributes

Method, repository practices

Across tidymodels

R releases
  • On CRAN
  • Release
VersionReleasedR
1.1.0 current18 Dec 20254.5.2
1.0.926 Jun 20254.5.1
1.0.814 Apr 20254.5.0
1.0.725 Mar 20244.3.3
1.0.631 Jan 20244.3.2
1.0.56 Sep 20234.3.1
1.0.42 Dec 20224.2.2
1.0.322 Aug 20224.2.1
Earlier versions (14)
VersionReleasedREvents
1.0.210 Jun 20224.2.0Maintainer: Simon Couch
Licence: MIT + file LICENSE
1.0.013 Aug 20214.1.1
0.5.413 Jan 20214.0.3
0.5.314 Jul 20204.0.0
0.5.214 Jun 20204.0.0
0.5.119 Nov 20193.6.1
0.5.027 Sep 20193.6.1
0.4.0.122 Apr 20193.5.3
0.4.015 Nov 20183.5.0
0.3.17 Aug 20183.5.0
0.3.011 Jul 20183.5.0
0.2.015 May 20183.5.0
0.1.122 Jan 20183.4.3
0.1.08 Jan 20183.4.3

Relicensed from CC0 in version 1.0.2.

Release notes (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).