Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
1.0 rolling linux/jammy R-4.5 vfunc_1.0.tar.gz 226.0 KiB
1.0 rolling linux/noble R-4.5 vfunc_1.0.tar.gz 226.6 KiB
1.0 rolling source/ R- vfunc_1.0.tar.gz 134.9 KiB
1.0 latest linux/jammy R-4.5 vfunc_1.0.tar.gz 226.0 KiB
1.0 latest linux/noble R-4.5 vfunc_1.0.tar.gz 226.6 KiB
1.0 latest source/ R- vfunc_1.0.tar.gz 134.9 KiB
1.0 2026-04-26 source/ R- vfunc_1.0.tar.gz 134.9 KiB
1.0 2026-04-23 source/ R- vfunc_1.0.tar.gz 134.9 KiB
1.0 2026-04-09 windows/windows R-4.5 vfunc_1.0.zip 226.2 KiB

Dependencies (latest)

Imports

Suggests