Package: sloop 1.0.1.9000
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
# Install 'sloop' 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
Pkgdown:https://sloop.r-lib.org
Last updated 2 months agofrom:cdb79122f4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 21 2024 |
R-4.5-win | OK | Dec 21 2024 |
R-4.5-linux | OK | Dec 21 2024 |
R-4.4-win | OK | Dec 21 2024 |
R-4.4-mac | OK | Dec 21 2024 |
R-4.3-win | OK | Dec 21 2024 |
R-4.3-mac | OK | Dec 21 2024 |
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 |