Skip to content

[Bioc-devel] some new warnings in a package

3 messages · Ramon Diaz-Uriarte, Martin Morgan

#
Dear All,

In case it matters, and since we are past the 22, I just noticed that a
package I maintain (ADaCGH2) is giving warnings in Linux and Mac (e.g.,
https://www.bioconductor.org/checkResults/devel/bioc-LATEST/ADaCGH2/zin2-checksrc.html)
that, if I recall correctly, were not being given around the 22nd. I think
these warnings have started appearing with the latest Rs in BioC (around
r70549?). I haven't been able to understand the ultimate cause of the
warnings (as they seem to refer to issues that are not in the code of my
package), but they disappear when I move a package from Imports to Depends.


Best,

R.
#
On 04/29/2016 05:23 PM, Ramon Diaz-Uriarte wrote:
They seem to come from GLAD's use of packageStartupMessage() in .onLoad 
(e.g., when the package is imported) rather than the recommended 
.onAttach (when the package is attached to the search() path, e.g., via 
library() or Depends: in the DESCRIPTION file).

I updated GLAD to use packageStartuupMessage() in .onAttach; I think the 
warnings will go away.

Martin
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
#
On Fri, 29-04-2016, at 23:49, Martin Morgan <martin.morgan at roswellpark.org> wrote:
Martin, thanks for the reply and details. And sorry for my
not-particularly-explicit message; yes, GLAD is the package that I moved to
Depends. And I did not say (though I had intended too ---time to go to bed)
that I had committed my changes to svn.

Anyway, should I revert my changes to keep GLAD in Imports?

Best,

R.