rm.pkg {mvbutils} | R Documentation |
Remove object(s) from maintained package
Description
Remove object(s) from maintained package. If the package is loaded, then objects are also removed from the search path version if any, the namespace if any, any importing namespaces, and any S3 method table. remove.from.package
is a synonym. You will be prompted about whether to auto-save the maintained package.
Usage
rm.pkg( pkg, ..., list = NULL, save.=NA)
# remove.from.package( pkg, ..., list=NULL)
remove.from.package( ...) # really has same args as 'rm.pkg'
Arguments
pkg |
(string, or environment) package name or environment, e.g. |
... |
unquoted object names to remove |
list |
character vector alternative to ..., which is ignored if |
save. |
For internal use— leave this alone! |
Details
For now, methods are only removed from the base S3 methods table; if new S3 generics have been defined in loaded packages, and you are trying to remove a method for such a generic, then it won't be removed. I could implement this feature if anyone really wants it.
See Also
Examples
## Not run:
rm.pkg( "mypackage", foo, bar)
rm.pkg( "mypackage", list=cq( foo, bar))
rm.pkg( ..mypackage, list=cq( foo, bar))
## End(Not run)