modify_pkg_function: Modify the Definition of a Package Function

Description Usage Arguments Details References

Description

Places a new definition inside the body of an old function within a package that is loaded either in the namespace or body.

Usage

1
modify_pkg_function(fname, fdef, package)

Arguments

fname

function name

fdef

function body definition

package

name of package environment

Details

The implementation of this function is based off of a list serv conversation response by Henrik Bengtsson.

References

https://stat.ethz.ch/pipermail/r-help/2008-August/171217.html


coatless/formatEQ documentation built on May 13, 2019, 8:46 p.m.