[Rd] NAMESPACE imports
Kasper Daniel Hansen
kasperdanielhansen at gmail.com
Mon Aug 8 23:30:41 CEST 2011
Is there some functionality for NAMSPACE files where I can import a
package, except a couple of functions, something like
importExcept
The situation is that I import from two different packages, A and B .
A (Biobase) is quite big and I essentially want to import all of the
package. B (matrixStats) is very small and I also want to import the
whole package, However, there is a name conflict (rowMedians and
anyMissing exists in both packages) and I prefer to keep the version
from the small package B. As I understand it, this means I need to
change my current
import(Biobase)
import(matrixStats)
to something like
importFrom(Biobase, ***)
import(matrixStats)
where *** is a list of all functions in Biobase except rowMedians (and
anyMissing), because right now R CMD check complains. Is there a
better way? If not, I would like to put in a request for something
like
importFromExcept()
Thanks,
Kasper
More information about the R-devel
mailing list