Re: [Rd] requiring NAMESPACE re-installation marked as old.packages?

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Thu, 21 Jul 2011 18:13:12 +0200

Most if not all packages will need a re-installation, not only those you talked about (in particular there is a new snow on CRAN already). Hence I think it is not worth the effort to find out what "old" means. Please note this may change during the development cycle and you may even need one or more re-installations before the next R is released. S4 packages may even need re-installation if other S4 packages (the former depend on) change.

Best,
Uwe

On 19.07.2011 10:23, Martin Morgan wrote:
> It would be convenient if, under R-devel r56422, packages that require
> re-installation because they do not have a NAMESPACE were marked as
> old.packages, so their lack of functionality can be discovered more easily.
>
> > "snow" %in% row.names(old.packages())
> [1] FALSE
> > library(snow)
> Error in library(snow) :
> package 'snow' does not have a NAMESPACE and should be re-installed
> > install.packages("snow", repos="http://cran.r-project.org")
> Installing package(s) into
> '/home/mtmorgan/R/x86_64-unknown-linux-gnu-library/2.14'
> (as 'lib' is unspecified)
> trying URL 'http://cran.r-project.org/src/contrib/snow_0.3-5.tar.gz'
> Content type 'application/x-gzip' length 21059 bytes (20 Kb)
> opened URL
> ==================================================
> downloaded 20 Kb
>
> * installing *source* package 'snow' ...
> ** R
> ** inst
> ** Creating default NAMESPACE file
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> ** testing if installed package can be loaded
> Warning: running .First.lib() for package 'snow' as .onLoad/.onAssign
> were not found
> Error in initDefaultClusterOptions() :
> cannot change value of locked binding for 'defaultClusterOptions'
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing '/home/mtmorgan/R/x86_64-unknown-linux-gnu-library/2.14/snow'
> * restoring previous
> '/home/mtmorgan/R/x86_64-unknown-linux-gnu-library/2.14/snow'
>
> The downloaded packages are in
> '/tmp/RtmpoGypnz/downloaded_packages'
> Warning message:
> In install.packages("snow", repos = "http://cran.r-project.org") :
> installation of package 'snow' had non-zero exit status
>
> Martin



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 21 Jul 2011 - 17:13:18 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Thu 21 Jul 2011 - 19:10:12 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