[Rd] new bug in install.packages()

From: Hervé Pagès <hpages_at_fhcrc.org>
Date: Tue, 20 Jul 2010 18:01:29 -0700


Hi,

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 unspecified)",

               sQuote(lib)), domain = NA)

Cheers,
H.

> sessionInfo()

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

locale:

  [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
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 21 Jul 2010 - 01:05:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 21 Jul 2010 - 02:40:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive