Problem when running check
1
0
Entering edit mode
Kenneth Lo ▴ 50
@kenneth-lo-2755
Last seen 10.2 years ago
When I run R CMD check on a package, I've got the following warning message repetitively at various checking stages: Warning in getPackageName(where) : Created a package name, "2008-04-15 04:57:30", when none found I have this problem when running check on R2.7 but not on R2.6. Does anyone have any idea about its cause? Thanks! Kenneth
• 711 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 4 months ago
United States
Hi Kenneth -- This is perhaps a small issue in R, and a solution is actively under investigation Probably the warning is spurious, but the thing that is triggering it is when a generic is defined in several different packages that your package imports. For instance, flowViz imports flowCore and Biobase, both of which have a generic 'description'. One possible solution is to replace import(SomePkg) with import(SomePkg, someFunc) i.e., to more selectively include required functions. Martin Kenneth Lo wrote: > When I run R CMD check on a package, I've got the following warning > message repetitively at various checking stages: > > Warning in getPackageName(where) : > Created a package name, "2008-04-15 04:57:30", when none found > > I have this problem when running check on R2.7 but not on R2.6. Does > anyone have any idea about its cause? > > Thanks! > > Kenneth > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M2 B169 Phone: (206) 667-2793
ADD COMMENT
0
Entering edit mode
Hi Martin, Thank you so much for your helpful advice. It looks like that this is the cause for all these warning messages. I've modified NAMESPACE such that it now only imports relevant classes and methods from flowCore. When running check again, all the warning messages are gone! Looking forward to a "green" check column shown on tomorrow's daily report :-) Cheers, Kenneth On 17-Apr-08, at 11:40 AM, Martin Morgan wrote: > Hi Kenneth -- > > This is perhaps a small issue in R, and a solution is actively under > investigation > > Probably the warning is spurious, but the thing that is triggering > it is when a generic is defined in several different packages that > your package imports. For instance, flowViz imports flowCore and > Biobase, both of which have a generic 'description'. One possible > solution is to replace > > import(SomePkg) > > with > > import(SomePkg, someFunc) > > i.e., to more selectively include required functions. > > Martin > > Kenneth Lo wrote: >> When I run R CMD check on a package, I've got the following >> warning message repetitively at various checking stages: >> Warning in getPackageName(where) : >> Created a package name, "2008-04-15 04:57:30", when none found >> I have this problem when running check on R2.7 but not on R2.6. >> Does anyone have any idea about its cause? >> Thanks! >> Kenneth >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > > > -- > Martin Morgan > Computational Biology / Fred Hutchinson Cancer Research Center > 1100 Fairview Ave. N. > PO Box 19024 Seattle, WA 98109 > > Location: Arnold Building M2 B169 > Phone: (206) 667-2793
ADD REPLY

Login before adding your answer.

Traffic: 704 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6