vfunc: Manipulate Virtual Functions
If f <- function(x){x^2} and g <- function(x){x+1} it is
a constant source of annoyance that "f+g" is not defined.
Package 'vfunc' allows you to do this, and we have (f+g)(2)
returning 5. The other arithmetic operators are similarly
implemented. A wide class of coding bugs is eliminated.
Version: |
1.0 |
Depends: |
R (≥ 4.2.0) |
Imports: |
methods |
Suggests: |
testthat, knitr, rmarkdown, onion |
Published: |
2025-07-28 |
Author: |
Robin K. S. Hankin
[aut, cre] |
Maintainer: |
Robin K. S. Hankin <hankin.robin at gmail.com> |
License: |
GPL-2 |
NeedsCompilation: |
no |
Materials: |
README |
CRAN checks: |
vfunc results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=vfunc
to link to this page.