Skip to content

new bug in install.packages()

6 messages · Hervé Pagès, Mark Bravington, Gabor Grothendieck +3 more

#
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
#
Hi

The link from CRAN to "new features in R-devel" hasn't been working for a few days. Specifically, there is no NEWS file in https://svn.r-project.org/R/trunk/, though there is an ONEWS.

The link is in the "Source code for all platforms" subwindow, where it says:

Daily snapshots of current patched and development versions are available here. Please read about <<new features and bug fixes>> before filing corresponding feature requests or bug reports.

Mark
#
On Tue, Jul 20, 2010 at 10:20 PM, <Mark.Bravington at csiro.au> wrote:
It seems now to be at:

https://svn.r-project.org/R/trunk/doc/NEWS.Rd
#
Please report problems with websites to the webmaster: no one else can 
handle them.  I believe that for CRAN the appropriate address is
cran-admin at r-project.org.
On Wed, 21 Jul 2010, Mark.Bravington at csiro.au wrote:

            

  
    
#
> Please report problems with websites to the webmaster: no
    > one else can handle them.  I believe that for CRAN the
    > appropriate address is cran-admin at r-project.org.

In addition, please let me note that one of the very oldest
"website"s for R *developement*  has been

http://stat.ethz.ch/R-manual/  (used to be called  "R-alpha")

it contains manuals of both "R patched" and "R manual" 
*and* direct links to the "NEWS" of both.

One reason, I have not advertized this very long-living (and
daily updated) web page is that it's really about *NON RELEASED* 
versions of R.

Martin Maechler, ETH ZUrich
> On Wed, 21 Jul 2010, Mark.Bravington at csiro.au wrote:
>> Hi
    >> 
    >> The link from CRAN to "new features in R-devel" hasn't
    >> been working for a few days. Specifically, there is no
    >> NEWS file in https://svn.r-project.org/R/trunk/, though
    >> there is an ONEWS.
    >> 
    >> The link is in the "Source code for all platforms"
    >> subwindow, where it says:
    >> 
    >> Daily snapshots of current patched and development
    >> versions are available here. Please read about <<new
    >> features and bug fixes>> before filing corresponding
    >> feature requests or bug reports.
    >> 
    >> Mark
    >> 
    >> -- 
    >> Mark Bravington CSIRO Mathematical & Information Sciences
    >> Marine Laboratory Castray Esplanade Hobart 7001 TAS
    >> 
    >> ph (+61) 3 6232 5118 fax (+61) 3 6232 5012 mob (+61) 438
    >> 315 623
    >> 
    >> ______________________________________________
    >> R-devel at r-project.org mailing list
    >> https://stat.ethz.ch/mailman/listinfo/r-devel
    >> 

    > -- 
    > Brian D. Ripley,                  ripley at stats.ox.ac.uk
    > Professor of Applied Statistics,
    > http://www.stats.ox.ac.uk/~ripley/ University of Oxford,
    > Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865
    > 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595

    > ______________________________________________
    > R-devel at r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-devel
#
Original problem now fixed on CRAN.

Best,
Fritz