Re: [Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-16 Thread Dan Tenenbaum
I have answered your email in the tracker, twice. Please do not reply all to random threads on bioc-devel. On February 16, 2016 8:41:25 AM PST, Yuande Tan wrote: >Dear all: >Today I resubmit the revised version of MBttest with fix error >occurring in >building windows. Right now I received mes

Re: [Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-16 Thread Yuande Tan
Dear all: Today I resubmit the revised version of MBttest with fix error occurring in building windows. Right now I received message from SinglePackageBuilder BioC-Submit. It said one or more warnings in build. I checked the History Biocond Single Builder, the warnings list in morelia and moscato2

Re: [Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-16 Thread Andreas Kapouranis
Hi Michael, Thanks for the suggestion. When I depend my package on GenomicRanges the warning is now gone. Regards, Andreas -- Chantriolnt - Andreas Kapourani PhD Candidate in Data Science, School of Informatics, University of Edinburgh e-m

Re: [Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-15 Thread Andreas Kapouranis
Hi Michael, Thanks for the reply. I created a minimal reproducible package with the issue. As it seems the warning comes because I have a 'data' folder where I have stored some example data, and one of the data is stored in GRanges format. If I delete the GRanges example data and keep any other d

Re: [Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-15 Thread Andreas Kapouranis
Hi Joris, Apologies for not including the NAMESPACE file, but I have included the methods package also there, although I have used: importFrom(methods,is) since I just need the is() function for the time being. Regards, Andreas -- Chantri

Re: [Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-15 Thread Michael Lawrence
It would be helpful to have a reproducible example, i.e., your actual package or a skeleton of it that reproduces the issue. Btw, you might be able to debug this behavior by: debug(tools::undoc) tools::undoc(dir=yourPackageDir) On Mon, Feb 15, 2016 at 7:52 AM, Andreas Kapouranis wrote: > Hi, >

Re: [Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-15 Thread Joris Meys
Hi Andreas, for a good understanding: just mentioning the methods package in the DESCRIPTION file isn't doing a thing if you don't also add import(methods) to the NAMESPACE file. So it looks like the warning occurs when the package indicates that the methods package is imported when it actually

[Bioc-devel] BiocGenerics attaches when methods package is imported

2016-02-15 Thread Andreas Kapouranis
Hi, I am developing a package for Bioconductor, and I have a weird issue when importing the 'methods' package. Before I add the 'methods' package in Imoprts in the DESCRIPTION file, I pass the CMD check without any warnings. However, when I add the 'methods' package in the Imports field, I get a