Older releaseCurrent release 1.3.2
rsample
0.0.1
- 1.3.230 Jan 2026, current
- 1.3.129 Jul 2025
- 1.3.02 Apr 2025
- 1.2.125 Mar 2024
- 1.2.023 Aug 2023
- 1.1.17 Dec 2022
- 1.1.08 Aug 2022
- 1.0.024 Jun 2022
- 0.1.18 Nov 2021
- 0.1.08 May 2021
- 0.0.917 Feb 2021
- 0.0.823 Sep 2020
- 0.0.74 Jun 2020
- 0.0.631 Mar 2020
- 0.0.513 Jul 2019
- 0.0.47 Jan 2019
- 0.0.320 Nov 2018
- 0.0.212 Nov 2017
- 0.0.18 Jul 2017
- Released
- 8 Jul 2017R 3.4.1 at the time
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None knownfor this release
- Test coverage, method
Method
Test coverage
Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.
- Almost half of CRAN has no tests to run
- Only CRAN packages are measured. Many have no percentage, most often because the package has no tests, and that blank is a recorded outcome, not missing data.
- NOT_CRAN
- Tests run with NOT_CRAN=true, so tests that skip themselves on CRAN run here, and the figure can differ from what CRAN's own checks see.
- Current version only
- Only the current version is measured, and a new version on CRAN is measured again. Older rows are kept but never filled in later. This is one package's run.
- Never 0%
- On a package page three states stay apart: measured, no tests, and not measured. Neither of the last two is ever shown as 0%.
- –not measured for this release
- Public exports, method
Method
Code metrics
Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.
- One row a version
- Each analysed version gives one row of figures. The Code, Tests and Documentation sections, the pages of older releases and Release changes all read from those rows.
- CRAN
- CRAN versions are read from the github.com/cran mirror, which holds one commit for each released source file, and every version tag is analysed. Nothing is built, installed or run.
- Release, not repository
- Documentation describes what the analysed release holds: a
README, vignettes, aNEWSfile and the shares read from its help pages. Files kept only in the repository, such as a pkgdown configuration or CI files, are read by the repository scan instead. - Zero
- Zero means the analysis looked and found none.
- 12in its first release
Record made 29 Oct 2026, 10:15 UTC from data release v2026-10-28, merged 23:10 UTC. Project DOI 10.5281/zenodo.21843040.
https:/
This page reports what R Observatory measured for this release. It is not a validation, and it does not say whether the package is fit for your intended use.
Compare
Compared with 1.3.2, released 30 Jan 2026.
- Time between
- 3,128 days17 releases in between
- Advisories
- None knownfor either release
- Exports
- 1 removed51 added as well
- Files changed
- 290+43,076 −17,091 lines
Values that differ (22)
| Measure | Section | 0.0.1 | 1.3.2 |
|---|---|---|---|
| License | Release | GPL-2, OSI approved | MIT + file LICENSE, OSI approved |
| Maintainer | Release | Max Kuhn | Hannah Frick |
| Download size | Release | 180 KB | 1.4 MB |
| Authors | Release | Max Kuhn, Hadley Wickham, RStudio | Hannah Frick, Fanny Chow, Max Kuhn, Michael Mahoney, Julia Silge, Hadley Wickham, Posit Software, PBC |
| Source code | Release | https://topepo.github.io/rsample | https://rsample.tidymodels.org, https://github.com/tidymodels/rsample |
| Public exports | Code | 12 | 62 |
| Internal functions | Code | 39 | 476 |
| Lines of R code | Code | 1,220 | 11,462 |
| Complexity | Code | mean 2.2, highest 11 | mean 1.8, highest 23 |
| Tests | Tests | Yes, testthat (edition not declared, 2nd by default), 34 test blocks | Yes, testthat (3rd edition), 316 test blocks |
| Test lines per line of code | Tests | 0.49 | 0.94 |
| Exports named in tests | Tests | 83.3% | 82.3% |
| Help pages with running examples | Tests | 12 of 12 | 33 of 35 |
| Help pages | Documentation | 14 | 43 |
| Exports with examples | Documentation | 90.9% | 86.5% |
| Arguments documented | Documentation | 100% | 99.5% |
| Return value documented | Documentation | 90.9% | 86.5% |
| Vignettes | Documentation | 2 | 3 |
| NEWS | Documentation | Yes, mentions 0.0.1 | Yes, mentions 1.3.2 |
| Depends | Dependencies | R (>= 3.3.3), broom | R (>= 4.1) |
| Imports | Dependencies | dplyr, purrr, tibble, rlang, tidyr, methods | cli, dplyr (>= 1.1.1), furrr, generics, glue, lifecycle, methods, pillar, purrr (>= 1.0.0), rlang (>= 1.1.0), slider (>= 0.1.5), tibble, tidyr, tidyselect, vctrs (>= 0.5.0) |
| Suggests | Dependencies | ggplot2, testthat, rmarkdown, knitr | broom, covr, ggplot2, knitr, modeldata, recipes (>= 0.1.4), rmarkdown, stats, testthat (>= 3.0.0), utils, whisker, withr, xml2 |
Exports added (51)
.get_fingerprint.get_split_argsadd_resample_idall_ofany_ofcalibrationcaret2rsampleclustering_cvcontainsends_witheverythingform_predget_rsplitgroup_bootstrapsgroup_initial_splitgroup_initial_validation_splitgroup_mc_cvgroup_validation_splitgroup_vfold_cvinitial_splitinitial_time_splitinitial_validation_splitinitial_validation_time_splitint_bcaint_pctlint_tinternal_calibration_splitlast_colmake_splitsmanual_rsetmatchesnew_rsetnum_rangepermutationspopulatereg_intervalsreshuffle_rsetreverse_splitsrsample2caretrset_reconstructsliding_indexsliding_periodsliding_windowstarts_withtestingtidytrainingvalidationvalidation_setvalidation_splitvalidation_time_split
Exports removed (1)
fill
Most changed files (12 of 290)
| File | Lines added | Lines deleted |
|---|---|---|
inst/doc/Working_with_rsets.html | 1,877 | 1,930 |
MD5 | 1,116 | 961 |
inst/doc/Common_Patterns.html | 1,251 | 495 |
tests/testthat/test-internal_calibration_split.R | 1,664 | 0 |
R/compat-vctrs.R | 874 | 740 |
tests/testthat/test-caret.R | 1,005 | 457 |
inst/doc/rsample.html | 687 | 502 |
tests/testthat/_snaps/compat-vctrs.md | 1,116 | 0 |
R/bootci.R | 829 | 281 |
inst/doc/Basics.html | 468 | 641 |
R/internal_calibration_split.R | 882 | 0 |
R/vfold.R | 595 | 249 |
Release
- Published
- 8 Jul 2017
- Status
- Replaced by 0.0.2 on 12 Nov 2017
- Previous
- None recorded
- License
- GPL-2, OSI approved
- Maintainer
- Max Kuhn
- Download size
- 180 KB
- Authors
- Max Kuhn, Hadley Wickham, RStudio
- Source code
- https://topepo.github.io/rsample
Advisories
- This release
- None known
CRAN checks
Method, CRAN checks Method CRAN runs every current package through Checks and health
R CMD check on a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.
- Results
- Kept only for the current release
Code
- Lines of R code
- 1,220
- Public exports
- 12
- Internal functions
- 39
- Mean complexity
- 2.2the most is 11
Lines by kind (2,799)
| Kind | Lines | Share |
|---|---|---|
| R code | 1,220 | 44% |
| Tests | 603 | 22% |
| Documentation | 624 | 22% |
| Guides | 352 | 13% |
Tests
- Test cases
- 34
- Lines of tests
- 603
- Exports named in tests
- 83.3%
- Tests
- Yes, testthat (edition not declared, 2nd by default), 34 test blocks
- Test lines per line of code
- 0.49
- Coverage
- Not measured for this release
- Help pages with running examples
- 12 of 12
Documentation
- Exports documented
- 100%
- Arguments documented
- 100%
- Return value documented
- 90.9%
- Vignettes
- 2
- Help pages
- 14
- Exports with examples
- 90.9%
- NEWS
- Yes, mentions 0.0.1
- Citation file
- No
- Website
- Yes
Dependencies
Method, Dependencies Method Dependent packages are other packages that list this one under Reverse dependencies
Depends, Imports or LinkingTo in their DESCRIPTION file. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.Suggests install and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again.
- Depends
- R (>= 3.3.3), broom
- Imports
- dplyr, purrr, tibble, rlang, tidyr, methods
- LinkingTo
- None
- Suggests
- ggplot2, testthat, rmarkdown, knitr
- Install tree
- Kept only for the current release
- Advisories in the install tree
- Kept only for the current release
Today
Checks, downloads, dependents, people and the repository describe the package as it is now, so they are on the current release.
Sources
| Part | From | As of |
|---|---|---|
| Release history | CRAN package versions | 28 Oct 2026 |
| Advisories | osv-advisories 1.0.0, R version 4.6.1 (2026-06-24) | 28 Oct 2026 |
| CRAN checks | CRAN check results | Kept only for the current release |
| Tests, documentation, code | rpkg-analyzer 0.5.2 | 5 Oct 2026 |
| Coverage | covr | Not measured for this release |
| Use | CRAN downloads, reverse dependencies, repository | Not shown for this release |
Daily data releases are kept on GitHub, so the data behind this record can be fetched again from v2026-10-28 (merged 23:10 UTC). Values not kept for a release say so and are never filled in from another release.