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.7)ooplah_0.2.0.zip(r-4.6)ooplah_0.2.0.zip(r-4.5)
ooplah_0.2.0.tgz(r-4.6-any)ooplah_0.2.0.tgz(r-4.5-any)
ooplah_0.2.0.tar.gz(r-4.7-any)ooplah_0.2.0.tar.gz(r-4.6-any)
ooplah_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ooplah/json (API)
NEWS
| # Install 'ooplah' in R: |
| install.packages('ooplah', repos = c('https://raphaels1.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/xoopr/ooplah/issues
Pkgdown/docs site:https://xoopr.github.io
Last updated from:4d88a65d34. Checks:5 NOTE, 4 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 128 | ||
| source / vignettes | OK | 229 | ||
| linux-release-x86_64 | NOTE | 159 | ||
| macos-release-arm64 | NOTE | 110 | ||
| macos-oldrel-arm64 | OK | 101 | ||
| windows-devel | NOTE | 87 | ||
| windows-release | NOTE | 95 | ||
| windows-oldrel | OK | 80 | ||
| wasm-release | OK | 123 |
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 |
