[R-pkg-devel] no visible global function definition for ‘par’

Dirk Eddelbuettel edd at debian.org
Mon Jan 30 17:52:09 CET 2017


On 30 January 2017 at 10:39, Cathy Lee Gierke wrote:
| Everything was fine, a few minor warnings...now this.  Description and
| namespace are proper.  These pkgs should all be part of the R base, aren't
| they? Anyone know why I should get these errors?  Thanks!

Just read what it says and do that:

| Consider adding
| 
|   importFrom("grDevices", "as.raster", "dev.cur", "dev.off", "gray",
|              "heat.colors", "jpeg", "palette", "pdf", "png", "rainbow",
|              "terrain.colors", "tiff")
|   importFrom("graphics", "abline", "axis", "barplot", "box", "boxplot",
|              "image", "layout", "legend", "lines", "mtext", "par",
|              "plot", "plot.new", "points", "rasterImage", "strwidth",
|              "text", "title")
|   importFrom("stats", "TukeyHSD", "acf", "aov", "ccf", "coefficients",
|              "drop1", "end", "fft", "median", "model.tables",
|              "na.action", "na.omit", "pf", "ts", "var")
|   importFrom("utils", "read.table", "str", "tail", "write.table")
| 
| to your NAMESPACE file.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-package-devel mailing list