[Rd] new bug in install.packages()

Hervé Pagès hpages at fhcrc.org
Wed Jul 21 03:01:29 CEST 2010


install.packages() seems to be broken in latest R-devel snapshot
(2010-07-19 r52561) if you are using an
R/R.version$platform-library/x.y directory.

   > .libPaths()
   [1] "/home/hpages/R/x86_64-unknown-linux-gnu-library/2.12"
   [2] "/home/hpages/R-2.12/library"

   > install.packages("car")
   Error in sprintf(gettext(fmt, domain = domain), ...) : too few arguments

Looks like the problem is in these lines (lines 194-197 in
file src/library/utils/R/packages2.R):

   lib <- .libPaths()[1L]
   if (length(.libPaths()) > 1L)
       message(gettextf("Installing package(s) into %s\n(as %s is 
               sQuote(lib)), domain = NA)


 > sessionInfo()
R version 2.12.0 Under development (unstable) (2010-07-19 r52561)
Platform: x86_64-unknown-linux-gnu (64-bit)

  [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
  [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
  [5] LC_MONETARY=C             LC_MESSAGES=en_US.utf8
  [7] LC_PAPER=en_US.utf8       LC_NAME=C
  [9] LC_ADDRESS=C              LC_TELEPHONE=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.12.0

Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319

More information about the R-devel mailing list