[R-pkg-devel] "Imports" for seemingly "base" functions/libraries
Wayne Taylor
wayne.j.taylor at gmail.com
Fri Jul 10 23:23:40 CEST 2015
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,
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]]
More information about the R-package-devel
mailing list