Description Usage Arguments Value
Useful eg when you have been modifying a package, and have buggered stuff up, and want to partly go back to an earlier version... entirely hypothetical of course, things like that never ever happens to me. Mere mortals might want to create a new environment goodenv
, use evalq(source(<<old.mypack.R.source.file>> local=T), goodenv)
, then find.changes( goodenv, asNamespace("mypack"))
. If your package is lazy-loaded, you're stuffed; I avoid lazy-loading, except perhaps for final distribution, because it just makes it much harder to track problems. Not that I ever have problems, of course.
Can be applied either to a specified set of functions, or by default to all the functions in egood
. If the former, then all callees of the specified functions are also checked for changes, as are all their callees, and so on recursively.
1 | changed.funs(egood, ebad, topfun, fw = NULL)
|
egood, ebad |
environments #1 & #2. Not symmetric; functions only in |
topfun |
name of functions in |
fw |
if non-NULL, the result of a previous call to |
Character vector with the names of changed/lost functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.