cd
uses to keep track of the task hierarchy.unpackage(spath, force = FALSE)
pre.install
. Therefore, some features of the original NAMESPACE may be lost. You can either copy the NAMESPACE manually (in which case, you'll need to maintain it by hand), or write a "pre.install.hook.MYPACK" function.
Any environment objects found in the package's environment (its namespace environment) will be dropped from the ".RData" file, with a warning; this is to avoid dramas on reloading.pre.install
, mvbutils.packaging.tools