Skip to content
Prev 4141 / 21312 Next

[Bioc-devel] avoiding call to ".find.package"

On Thu, Mar 7, 2013 at 8:24 AM, Thomas Sandmann
<sandmann.thomas at gene.com> wrote:
One thing you could try would be to run R CMD check on the package
which will produce a gCMAP.Rcheck/gCMAP-Ex.R file contaning all your
example code (since the warning seems to come from one or more man
page examples).
Then start R:
debug(.path.package)
source("gCMAP-Ex.R", echo=TRUE, max=Inf)

That may trigger it in which case R will say something like:
"debugging in .path.package('foo')" where foo is likely to be the
guilty party
However, I was not able to do this because a recent change to gCMAP
seems to cause an error--it fails build in today's build report.
It's ok to let the warning happen in this case, once you've done all
you can. There are ways to suppress warnings but sometimes it's better
to know they are happening; you don't want to suppress an unexpected
warning by mistake.

Dan