rusers.sh
2009-Dec-25 02:40 UTC
[R] checking package errors-'require' calls not declared and no visible global function definition
Hi, I got two errors after i checking my package. The errors are as follows, Error1: * checking for unstated dependencies in R code ... WARNING 'library' or 'require' calls not declared from: boot np Error2: * checking R code for possible problems ... NOTE myfunction: no visible global function definition for 'npudensbw'in the np package In "myfunction", i have two requires "require(boot)" and "require(np)", but i have stated them in the DESCRIPTION file using "Depends:boot,np". Anybody can give me some ideas to clear these two errors,'require' calls not declared and no visible global function definition? Thanks a lot. -- ----------------- Jane Chang Queen's [[alternative HTML version deleted]]
Gabor Grothendieck
2009-Dec-25 03:13 UTC
[R] checking package errors-'require' calls not declared and no visible global function definition
The first one is a warning and the second is a note. You did not get any errors. On Thu, Dec 24, 2009 at 9:40 PM, rusers.sh <rusers.sh at gmail.com> wrote:> Hi, > ?I got two errors after i checking my package. The errors are as follows, > Error1: > * checking for unstated dependencies in R code ... WARNING > 'library' or 'require' calls not declared from: > ?boot np > > Error2: > * checking R code for possible problems ... NOTE > myfunction: no visible global function definition for 'npudensbw'in the np > package > > ?In "myfunction", i have two requires "require(boot)" and "require(np)", > but i have stated them in the DESCRIPTION file using "Depends:boot,np". > ?Anybody can give me some ideas to clear these two errors,'require' calls > not declared and no visible global function definition? > ?Thanks a lot. > > -- > ----------------- > Jane Chang > Queen's > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >