Re: [Rd] lubridate does not install on FreeBSD any more

From: peter dalgaard <pdalgd_at_gmail.com>
Date: Wed, 11 Jan 2012 11:45:50 +0100

On Jan 11, 2012, at 11:13 , Rainer Hurling wrote:

> With newest R devel
>
> #sessionInfo()
> R Under development (unstable) (2012-01-10 r58085)
> Platform: amd64-portbld-freebsd10.0 (64-bit)
> locale:
> [1] de_DE.ISO8859-15/de_DE.ISO8859-15/de_DE.ISO8859-15/C/de_DE.ISO8859-15/de_DE.ISO8859-15
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> I get the following error when I try to build and install lubridate from sources on FreeBSD 10.0-CURRENT (amd64):
>
> #R CMD INSTALL lubridate_0.2.6.tar.gz
> * installing to library '/usr/local/lib/R/library'
> * installing *source* package 'lubridate' ...
> ** package 'lubridate' successfully unpacked and MD5 sums checked
> ** R
> ** data
> ** moving datasets to lazyload DB
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices
> ** testing if installed package can be loaded
> During startup - Warning messages:
> 1: Setting LC_CTYPE failed, using "C"
> 2: Setting LC_TIME failed, using "C"
> 3: Setting LC_MESSAGES failed, using "C"
> 4: Setting LC_PAPER failed, using "C"
> Error : .onLoad failed in loadNamespace() for 'lubridate', details:
> call: utils::assignInNamespace("+.Date", add_dates, "base")
> error: locked binding of '+.Date' cannot be changed
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing '/usr/local/lib/R/library/lubridate'
> * restoring previous '/usr/local/lib/R/library/lubridate'
>
>
> Do you have any idea what is going on here?

I think that should be rather obvious. It tries to modify/define a base function and no longer gets away with that bit of bad programming citizenship.

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes_at_cbs.dk  Priv: PDalgd_at_gmail.com

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 11 Jan 2012 - 10:47:35 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 Wed 11 Jan 2012 - 11:50:07 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