Skip to content

sloop

1.0.1

Helpers for 'OOP' in R

1packages dependsuggested by 3
10.3Kdownloads / year
80.2%test coverage
13/13flavors OK

Overview

About

A collection of helper functions designed to help you to better understand object oriented programming in R, particularly using 'S3'.

Changes in 1.0.1
  • 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

CRAN checks
13OK
Slowest check: 58 s · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 154 wordsVignettesNoNEWSYes · 67% structured · mentions 1.0.1Citation fileNoWebsiteYes · pkgdown
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

10.3K
CRAN downloads in the past year
Rank #3,291 · ~28/day · ~859/mo
Daily download trend is not available in this view yet.
97330 days
3.4K90 days
10.3K1 year
Compare downloads with other packages →
Also on98 r2u5 autocran

Repository

r-lib/sloop ↗Organization: r-lib
105Stars
10Forks
6Open issues
1Open PRs
2Releases
78Commits
4Commit identities
rs3s4r6
78 commits · Last activity 2024-10-21 · +1% stars, 30d · Default branch at 1.0.1.9000, ahead of CRAN 1.0.1 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-03-29 · 1032026-10-13 · 105
PracticesBeta

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.

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 (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2024-10-21 · The repository has a site deploy workflow

pkgdown site last built 2023-10-30

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

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.

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

People & History

People (2)
Author, Maintainer since 1.0.0 (2018)
Copyright holder
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.1Latest
    record
    2019-02-17 · current release · diff ↗
  • 1.0.0
    record
    2018-10-30
  • R
    R 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")
Wickham, H., & RStudio. (2019). sloop: Helpers for 'OOP' in R (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sloop version 1.0.1 [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