RL: reload a function in a package from its source folder

Description Usage Arguments Details Author(s)

Description

Not for final package distribution: this is a kludge to avoid having to rebuild the whole package just to propagate a change in a single function.

Usage

1
RL(f, path = NULL, package = NULL)

Arguments

f

unquoted name of function

path:

path to source file containing new definition for f; Default is to run find starting at the user's home directory, looking for a file called paste0(substitute(f), ".R")

package:

name of package to which f belongs. Defaults to the first package returned by getAnywhere(f)

Details

Here's what RL(f) does:

where PACKAGE stands for the value of package.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.