[Rd] inappropriate warning in latticeExtra

Richard M. Heiberger rmh at temple.edu
Fri Mar 23 03:28:08 CET 2018

The warning message in the last line of this email is incorrect.
This is behavior which Duncan Murdoch labeled a bug in

This is a fresh install of R-devel (2018-03-21 r74436)

R Under development (unstable) (2018-03-21 r74436) -- "Unsuffered Consequences"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(latticeExtra)
Error in library(latticeExtra) :
  there is no package called ‘latticeExtra’
> install.packages("latticeExtra")
Warning in install.packages("latticeExtra") :
  'lib = "C:/Program Files/R/R-devel/library"' is not writable
--- Please select a CRAN mirror for use in this session ---
also installing the dependency ‘RColorBrewer’

Warning: unable to access index for repository
  cannot open URL
trying URL 'https://cran.wu.ac.at/bin/windows/contrib/3.5/RColorBrewer_1.1-2.zip'
Content type 'application/zip' length 55444 bytes (54 KB)
downloaded 54 KB

trying URL 'https://cran.wu.ac.at/bin/windows/contrib/3.5/latticeExtra_0.6-28.zip'
Content type 'application/zip' length 2191524 bytes (2.1 MB)
downloaded 2.1 MB

package ‘RColorBrewer’ successfully unpacked and MD5 sums checked
package ‘latticeExtra’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
> library(latticeExtra)
Loading required package: lattice
Loading required package: RColorBrewer
> a <- xyplot(1 ~ 1)
> c(a,a)
Warning message:
In formals(fun) : argument is not a function

More information about the R-devel mailing list