[R] checking package errors-'require' calls not declared and no visible global function definition

Gabor Grothendieck ggrothendieck at gmail.com
Fri Dec 25 04:13:06 CET 2009

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.

More information about the R-help mailing list