[R-pkg-devel] "Imports" for seemingly "base" functions/libraries
Joshua Ulrich
josh.m.ulrich at gmail.com
Sat Jul 11 05:03:49 CEST 2015
On Fri, Jul 10, 2015 at 4:23 PM, Wayne Taylor <wayne.j.taylor at gmail.com> wrote:
> Good afternoon,
>
> I received results from a package development check. On some platforms, I
> receive numerous errors such as:
>
> [my own function]: no visible global function definition for ‘boxplot’
> [my own function]: no visible binding for global variable ‘quantile’
> [my own function]: no visible global function definition for ‘bxp’
>
> To be clear, some of my functions call boxplot, quantile, and bxp - I am
> not rewriting these functions. To correct these errors, should I adding
> "graphics" and "stats" to the "Imports:" statement in the DESCRIPTION file
> (the libraries associated with these functions)? I am a bit surprised that
> we would also need to add these common "base" libraries to the Imports
> statement, but I wanted to double check with the experts. I noticed these
> errors occur only on the "developer" versions of the platforms, so it seems
> that they are running a more stringent test. Thanks,
>
Yes, this is expected. See:
http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2015/06/29#n2015-06-29
And an earlier email on this list:
https://stat.ethz.ch/pipermail/r-package-devel/2015q2/000171.html
> Wayne
>
> --
> Wayne Taylor
> PhD Candidate in Marketing
> UCLA Anderson School of Management
> wayne.taylor.1 at anderson.ucla.edu <wayne.taylor.2016 at anderson.ucla.edu>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
More information about the R-package-devel
mailing list