R Observatory
Search
install.packages("rsample")
CRAN checks, method
OKnotes on 5 of 13
CRAN 30-day downloads, method
52,889+7.2% up on the 30 days before, the better direction
Test coverage, method
89%of lines run by tests

Classes and functions to create and summarize different types of resampling objects (e.g. bootstrap, cross-validation).

Maintainer
Hannah Frick
Latest release
30 Jan 2026
First release
8 Jul 2017

Compare with another package

More details
Releases
19
Needs compilation
No
Needs R
>= 4.1
Config/Needs/website
GGally, nlstools, tidymodels, tidyverse/tidytemplate
Config/testthat/edition
3
Config/usethis/last-upkeep
2025-04-23
RoxygenNote
7.3.3
Task views (1)
Collections (1) Method, Collections
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("rsample")
APA
Frick, H., Posit Software, PBC, Chow, F., Kuhn, M., Mahoney, M., Silge, J., & Wickham, H. (2026). rsample: General Resampling Infrastructure (Version 1.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.rsample
About

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

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 rsample version 1.3.2 [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. 5 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.3.2
    Time taken
    270 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

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

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    1.3.2
    Time taken
    182 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

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

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    1.3.2
    Time taken
    196 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

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

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    1.3.2
    Time taken
    181 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    Note

    Version checked
    1.3.2
    Time taken
    276 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.3.2
    Time taken
    79 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.3.2
    Time taken
    414 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.3.2
    Time taken
    352 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.3.2
    Time taken
    253 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.3.2
    Time taken
    252 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.3.2
    Time taken
    63 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.3.2
    Time taken
    287 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.3.2
    Time taken
    264 s
  • 5 Note
  • 8 OK
Check output (2)

R code for possible problems, Note on 5 platforms

Found calls to structure() using deprecated special names:
  rsample/tests/testthat/test-caret.R (.Names: 30)
  rsample/tests/testthat/test-make_strata.R (.Dim: 1, .Dimnames: 1)
'.Names' should be changed to 'names'.
'.Dim' should be changed to 'dim'.
'.Dimnames' should be changed to 'dimnames'.

dependencies in R code, Note on 5 platforms

Base packages in Suggests/Enhances imported in NAMESPACE:
  ‘stats’ ‘utils’
Base packages in Suggests/Enhances imported in NAMESPACE:
  'stats' 'utils'

Over time

No change since 16 Jul 2026

As a list (4)
ChangedWorst statusOKNotesWarningsErrors
16 Jul 2026Note11200
9 Jun 2026OK13000
8 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
59,165+9.1% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

480 of 26,530

CRAN

52,889 downloads in the last 30 days

Rank
480 of 26,530
Change
+7.2% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

2,416 downloads in the last 30 days

Rank
560 of 30,526
Change
+75.7% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,992 of 29,212
Change
−73.3% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

3,828 downloads in the last 30 days

Rank
528 of 3,828
Change
+10.5% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

28 downloads in the last 30 days

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

It is in the total. Take it out

Over time

Compare downloads

Needs
15
Dependent packages
49
Suggested by
47
Needs (15)
Installing it adds
28 packages, 19.9 MB of source
Of those, need compilation
16
Optional extras (13)
Dependent packages (49)
PackageTitleDownloads in 30 days
tidymodelsEasily Install and Load the 'Tidymodels' Packages85,663
tuneTidy Tuning Tools24,325
workflowsetsCreate a Collection of 'tidymodels' Workflows20,166
timetkA Tool Kit for Working with Time Series15,364
tidyclustA Common API to Clustering3,072
stacksTidy Model Stacking2,445
spatialsampleSpatial Resampling Infrastructure2,424
embedExtra Recipes for Encoding Predictors1,050
textAnalyses of Text using Transformers Models from HuggingFace, Natural Language Processing and Machine Learning855
MachineShopMachine Learning Models and Tools808
baguetteEfficient Model Functions for Bagging774
modeltime.ensembleEnsemble Algorithms for Time Series Forecasting with Modeltime640
modeltime.resampleResampling Tools for Time Series Forecasting628
finntsMicrosoft Finance Time Series Forecasting Framework598
agua'tidymodels' Integration with 'h2o'588
tidyposteriorBayesian Analysis to Compare Models using Resampling Statistics527
sitarSuper Imposition by Translation and Rotation Growth Curve Analysis524
LorenzRegressionLorenz and Penalized Lorenz Regressions506
psfmiPrediction Model Pooling, Selection and Performance Evaluation Across Multiply Imputed Datasets477
tidysdmSpecies Distribution Models with Tidymodels423
fastmlGuarded Resampling Workflows for Leakage-Aware Machine Learning in R422
tidylearnA Unified Tidy Interface to R's Machine Learning Ecosystem393
autostatsAuto Stats368
ldmpprEstimate and Simulate from Location Dependent Marked Point Processes364
stabiliserStabilising Variable Selection355
CimpleGA Method to Identify Single CpG Sites for Classification and Deconvolution345
MLwrapMachine Learning Modelling for Everyone337
h3sdmSpecies Distribution Modeling with H3 Grids324
spqdepTesting for Spatial Independence of Cross-Sectional Qualitative Data311
mislMultiple Imputation by Super Learning309
sae.projectionSmall Area Estimation Using Model-Assisted Projection Method306
tidyAMLAutomatic Machine Learning with 'tidymodels'306
LLMAgentRLanguage Model Agents in R for AI Workflows and Research290
quollrVisualising How Nonlinear Dimension Reduction Warps Your Data287
MLDataRCollection of Machine Learning Datasets for Supervised Machine Learning285
survdnnDeep Neural Networks for Survival Analysis with R 'torch'285
manydistDistance-Based Learning for Mixed-Type Data284
roclabROC-Optimizing Binary Classifiers282
tidysynthesisA Common API for Synthesizing Data279
ivdescProfiling Compliers and Non-Compliers for Instrumental Variable Analysis276
lvmiscVeras Miscellaneous275
postcardEstimating Marginal Effects with Prognostic Covariate Adjustment255
nzilbb.vowelsVowel Covariation Tools250
mrIMLMulti-Response (Multivariate) Interpretable Machine Learning247
trendevalEvaluate Trending Models247
casimirComparing Automated Subject Indexing Methods in R244
PTSDdiagOptimize PTSD Diagnostic Criteria242
survalisInterpretable Survival Machine Learning Framework227
tradeoffaucdimPlotting Trade-Off AUC-Dimensionality216
Functions
532
Public exports
62
Lines of R code
11,462
Median complexity
1
Functions (532)
Size and composition

Lines by kind (26,075)

KindLinesShare
R code11,46244%
Tests10,74041%
Documentation2,83811%
Guides1,0354%

Lines by language

LanguageLinesShare
R18,67472%
Markdown3,52814%
Rd2,83811%
Vignettes1,0354%

Languages are counted from file extensions.

Files
210
R functions
532
Object systems
S3: 368 methods
Deprecated functions
4
Complexity
Median
1
Mean
1.78
Highest
23
Median lines per function
9
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
532
Calls
488
Unconnected
169
Groups
6
Growth (19 releases)
Total lines by release
2,799 on 8 Jul 201726,075 on 30 Jan 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
88.6%
Expressions run by tests
85%
Test cases
318
Exports named in tests
82.3%
Coverage by file (55)
Coverage run
Lines counted
3,504
Lines the tests ran
3,106
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
318
Snapshot tests
269
Lines of tests
10,740
Test lines per line of code
0.94
Exports documented
100%
Arguments documented
99.5%
Return value documented
86.5%
Help pages with examples
81.4%
Examples run in checks
94.3%
Guides (3)
Other documentation
README
Yes, 312 words
Release notes file
Yes
Help pages
43
Lines of documentation
2,838

Funded by Posit Software, PBC

Earlier names (1)
  • RStudio

tidymodels / rsample on github.com

Stars
343no change on 30 days ago
Forks
68
Open issues
38
Last commit
17 Sep 2026
Activity
Commits
1,100
Open pull requests
3
Tagged releases
15
Latest tagged release
v1.3.2, 30 Jan 2026
In development
Default branch at 1.3.2.9000, ahead of CRAN 1.3.2 (checked 2026-10-25)
Issues closed in
50 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
94%
Created
22 Apr 2017
Licence file reads as
–
Development practices (16)
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, CODEOWNERS
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-09-17
The repository has a site deploy workflow
pkgdown site last built 2026-01-30
CoverageCoverage reporting (Codecov)
CRAN release processcran-comments.md, revdep/
Lint, format, editorLint workflow, Air, VS Code, RStudio project

Method, repository practices

Across tidymodels

Tools

ToolFirst seenFound
Claude Code29 Jan 2026Seen in the repository.claude.claude/skillsNamed in .Rbuildignore.claude
  • Seen in the repository
  • Named in .Rbuildignore

Across tidymodels

R releases
  • On CRAN
  • Release
VersionReleasedREvents
1.3.2 current30 Jan 20264.5.2
1.3.129 Jul 20254.5.1
1.3.02 Apr 20254.4.3
1.2.125 Mar 20244.3.3
1.2.023 Aug 20234.3.1
1.1.17 Dec 20224.2.2Maintainer: Hannah Frick
1.1.08 Aug 20224.2.1
1.0.024 Jun 20224.2.1
Earlier versions (11)
VersionReleasedREvents
0.1.18 Nov 20214.1.2
0.1.08 May 20214.0.5Licence: MIT + file LICENSE
0.0.917 Feb 20214.0.4Maintainer: Julia Silge
0.0.823 Sep 20204.0.2
0.0.74 Jun 20204.0.0
0.0.631 Mar 20203.6.3
0.0.513 Jul 20193.6.1
0.0.47 Jan 20193.5.2
0.0.320 Nov 20183.5.0
0.0.212 Nov 20173.4.2
0.0.18 Jul 20173.4.1

Relicensed from GPL-2 in version 0.1.0.

Release notes (1.3.2)
  • .get_split_args() now works with rset objects created by functions from spatialsample without requiring the package to be attached (#599).
  • The lag argument for initial_time_split() has been soft deprecated (@bjornkallerud, #592).
  • The example for group_vfold_cv() has been updated to use current dplyr functions (#597).