Package: ooplah 0.2.0
ooplah: Helper Functions for Class Object-Oriented Programming
Helper functions for coding object-oriented programming with a focus on R6. Includes functions for assertions and testing, looping, and re-usable design patterns including Abstract and Decorator classes.
Authors:
ooplah_0.2.0.tar.gz
ooplah_0.2.0.zip(r-4.5)ooplah_0.2.0.zip(r-4.4)ooplah_0.2.0.zip(r-4.3)
ooplah_0.2.0.tgz(r-4.4-any)ooplah_0.2.0.tgz(r-4.3-any)
ooplah_0.2.0.tar.gz(r-4.5-noble)ooplah_0.2.0.tar.gz(r-4.4-noble)
ooplah_0.2.0.tgz(r-4.4-emscripten)ooplah_0.2.0.tgz(r-4.3-emscripten)
ooplah.pdf |ooplah.html✨
ooplah/json (API)
NEWS
# Install 'ooplah' in R: |
install.packages('ooplah', repos = c('https://xoopr.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/xoopr/ooplah/issues
Last updated 3 years agofrom:4d88a65d34. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 03 2024 |
R-4.5-win | OK | Nov 03 2024 |
R-4.5-linux | OK | Nov 03 2024 |
R-4.4-win | OK | Nov 03 2024 |
R-4.4-mac | OK | Nov 03 2024 |
R-4.3-win | OK | Nov 03 2024 |
R-4.3-mac | OK | Nov 03 2024 |
Exports:AbstractClassassert_R6assert_R6Classassert_R6ObjectdecorateDecoratorClassget_object_classis.R6is.R6Classis.R6Objectloapplyobject_classobject_classesooplahprivatesupervcapplyviapplyvlapplyvnapplyvrapplyvzapply
Dependencies:R6
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create an abstract R6 Class | AbstractClass |
Sugar function for decoration | decorate |
Create an abstract R6 Class | DecoratorClass |
Is 'x' a R6 object or class? | assert_R6 is.R6 |
Is 'x' a R6 class? | assert_R6Class is.R6Class |
Is 'x' a R6 object? | assert_R6Object is.R6Object |
Specialised lapply for objects | loapply |
Get class of an object (possibly with inheritance) | get_object_class object_class object_classes |
R6 Class for testing and examples | ooplah |
Get R6 object private environment | private |
Get R6 object parent environment | super |
Specialised vapply methods for atomic classes | vcapply viapply vlapply vnapply vrapply vxapply vzapply |