Package: sloop 1.0.1.9000
![](https://github.com/r-lib/sloop/raw/HEAD/man/figures/logo.png)
sloop:Helpers for 'OOP' in R
A collection of helper functions designed to help you to better understand object oriented programming in R, particularly using 'S3'.
Authors:
sloop_1.0.1.9000.tar.gz
sloop_1.0.1.9000.zip(r-4.5)sloop_1.0.1.9000.zip(r-4.4)sloop_1.0.1.9000.zip(r-4.3)
sloop_1.0.1.9000.tgz(r-4.4-any)sloop_1.0.1.9000.tgz(r-4.3-any)
sloop_1.0.1.9000.tar.gz(r-4.5-noble)sloop_1.0.1.9000.tar.gz(r-4.4-noble)
sloop_1.0.1.9000.tgz(r-4.4-emscripten)sloop_1.0.1.9000.tgz(r-4.3-emscripten)
sloop.pdf |sloop.html✨
sloop/json (API)
NEWS
# Installsloop in R: |
install.packages('sloop',repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/r-lib/sloop/issues
Last updated 8 months agofrom:a0b4c8640d
Exports:ftypeis_s3_genericis_s3_methodotypes3_classs3_dispatchs3_get_methods3_methods_classs3_methods_generics4_methods_classs4_methods_generic
Dependencies:clicodetoolscrayonfansigluelifecyclemagrittrpillarpkgconfigpurrrrlangtibbleutf8vctrs
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Determine function type. | ftype |
Determine if a function is an S3 generic or S3 method. | is_s3_generic is_s3_method |
Determine the type of an object | otype |
Compute the S3 class of an object | s3_class |
Illustrate S3 dispatch | s3_dispatch |
Find S3 method from its name | s3_get_method |
List methods for a S3 or S4 generic (or class) | s3_methods_class s3_methods_generic s4_methods_class s4_methods_generic |