Roger's other one is the best one: use pre-2.0.0 and have
Depends: marrayClasses in your DESCRIPTION file.
Having require(marrayClasses) in install.R in your package may work,
although you may need it in R_PROFILE.R as well.
Adding require(marrayClasses) to install.R stops the error
In my package, I create a new method for plot with the following signature:
setMethod(plot, signature(x=marrayNorm, y=formula), plot.ma)
where marrayNorm is a class defined in the marray package. After
building and installing my package, I get the following warnings when
I load my package
In R 2.0.0-to-be I think putting marray in the Depends: field will
solve your problem. Otherwise, you might want to import the
marrayNorm class in your NAMESPACE file.
-roger
hadley wickham wrote:
In my package, I create a new method for plot with the following signature:
setMethod(plot,
Unfortunately, marrayClasses doesn't seem to have a namespace:
library(maVis)
Error in loadNamespace(imp[[1]], c(lib.loc, .libPaths()), keep.source) :
package 'marrayClasses' does not have a name space
Error in library(maVis) : package/namespace load failed
Any other ideas?
Hadley
On Thu, 9 Sep 2004, hadley wickham wrote:
Unfortunately, marrayClasses doesn't seem to have a namespace:
library(maVis)
Error in loadNamespace(imp[[1]], c(lib.loc, .libPaths()), keep.source) :
package 'marrayClasses' does not have a name space
Error in library(maVis) :