[Bioc-devel] WARNING regarding imporing SummarizedExperiment
The solution is, in the NAMESPACE, to import only those functions used
importFrom(SummarizedExperiment, "start", "end")
importFrom(stats, "mean")
or to import everything but
importFrom(stats, except = c(start, end))
or to explicitly resolve symbols in the code and not mention them in the
NAMESPACE file.
SummarizedExperiment::start(...)
Each of these styles is supported by roxygen2.
Martin
On 04/14/2018 08:37 PM, Ruqian Lyu wrote:
Hi guys, I have identified the problem. It's the packages I imported have same function name, so the previous functions get overwritten. Thanks Ruqian On Sun, Apr 15, 2018 at 10:18 AM, Ruqian Lyu <ruqianl at student.unimelb.edu.au
wrote:
Hi guys, I'm wondering if any of you have met this warning message : Warning: replacing previous import 'SummarizedExperiment::start' by 'stats::start' when loading 'singscore' Warning: replacing previous import 'SummarizedExperiment::end' by 'stats::end' when loading 'singscore' I have import SummarizedExperiment in my DESCRIPTION and NAMESPACE. The package passed R CMD Check and BiocCheck without warnings. But the build report returned the warnings above. Link to the report: http://bioconductor.org/spb_reports/singscore_buildreport_ 20180414041637.html I'm not sure why this is happening. Any help will be appreciated. Thanks! Regards, Ruqian
[[alternative HTML version deleted]]
_______________________________________________ Bioc-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
This email message may contain legally privileged and/or...{{dropped:2}}