sloop
1.0.1Helpers for 'OOP' in R
Overview
A collection of helper functions designed to help you to better understand object oriented programming in R, particularly using 'S3'.
- sloop has a website: http://sloop.r-lib.org/ !
s3_methods_generic()returns correct character class with recent versions of the tibble package (#19)s4_methods_class()returns 0 rows instead of an error if no methods are found (#18).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 7
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 43%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 57%
- Median days to close, 50 most recently updated closed issues
- 35
- Median days to close, 50 most recently updated closed PRs
- 159
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-lib/sloop on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-10-21 · The repository has a site deploy workflow
pkgdown site last built 2023-10-30
Show all practicesHide 2 practices
Dependencies
Installing sloop adds 12 packages (8 with compiled code, 4.3 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.0.1Latest
- 1.0.02018-10-30
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-10-30
- Total releases
- 2 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.3
- Download size
- 10 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sloop")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.
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.