tetomonti / CBMRtools

R package with common use scripts for transcriptomics analysis
3 stars 0 forks source link

Overwrites at 'compilation' #21

Open tetomonti opened 8 years ago

tetomonti commented 8 years ago

The following warnings are output when compiling the package:

17: replacing previous import 'Biobase::combine' by 'gridExtra::combine' when loading 'CBMRtools' 18: replacing previous import 'DESeq2::plotMA' by 'limma::plotMA' when loading 'CBMRtools' 19: replacing previous import 'limma::backgroundCorrect' by 'oligo::backgroundCorrect' when loading 'CBMRtools' 20: replacing previous import 'oligo::summarize' by 'plyr::summarize' when loading 'CBMRtools' 21: replacing previous import 'data.table::melt' by 'reshape2::melt' when loading 'CBMRtools' 22: replacing previous import 'data.table::dcast' by 'reshape2::dcast' when loading 'CBMRtools' 23: replacing previous import 'oligo::weights' by 'stats::weights' when loading 'CBMRtools' 24: replacing previous import 'oligo::coef' by 'stats::coef' when loading 'CBMRtools' 25: replacing previous import 'oligo::residuals' by 'stats::residuals' when loading 'CBMRtools'

I'm wondering whether this affects the correct functioning.

lia978 commented 8 years ago

stackflow suggests using "#' @importFrom somepackage somefunction" rather than "@import somePackage"

http://stackoverflow.com/questions/8662285/warning-replacing-previous-import-head-when-loading-utils-in-r