I am making an R package and I am trying to get the NAMESPACE file right. In general my question is: Say that I want to use (import), in my package, two different functions but with the same name, in turn exported by two different packages. How can this be specified in the NAMESPACE file and in the code?
Specifically I get the following warning:
Creating a generic function for 'boxplot' from package 'graphics' in package 'affyPLM'
Creating a generic function for 'hist' from package 'graphics' in package 'affyPLM'
I am guessing that this means that the boxplot and hist methods for the fitPLM class are replaced by ones from graphics? I also import affy but this does not give a warning, although there is a boxplot method for the AffyBatch class. The thing is, I only use importFrom(affyPLM, fitPLM).
How can I get rid of the warning? I have struggled to find any answer on the web but without success, so if you have any idea or tip, please help me!