Quantcast

lubridate does not install on FreeBSD any more

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

lubridate does not install on FreeBSD any more

Rainer Hurling
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?

Thanks in advance,
Rainer Hurling

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: lubridate does not install on FreeBSD any more

Uwe Ligges-3


On 11.01.2012 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?

Yes: locked bindings cannot be changed in R-devel any more, and
lubridate does that. The maintainer has been asked for an update already.

Uwe Ligges



>
> Thanks in advance,
> Rainer Hurling
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: lubridate does not install on FreeBSD any more

Peter Dalgaard-2
In reply to this post by Rainer Hurling

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: [hidden email]  Priv: [hidden email]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: lubridate does not install on FreeBSD any more

Rainer Hurling
In reply to this post by Uwe Ligges-3
On 11.01.2012 11:32 (UTC+1), Uwe Ligges wrote:

> On 11.01.2012 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?
>
> Yes: locked bindings cannot be changed in R-devel any more, and
> lubridate does that. The maintainer has been asked for an update already.
>
> Uwe Ligges
>
>> Thanks in advance,
>> Rainer Hurling

Thanks, Uwe Ligges and Peter Dalgaard, for clarifying this. So we have
to wait for an update ...

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: lubridate does not install on FreeBSD any more

Rainer Hurling
Am 11.01.2012 11:58 (UTC+1) schrieb Rainer Hurling:

> On 11.01.2012 11:32 (UTC+1), Uwe Ligges wrote:
>> On 11.01.2012 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?
>>
>> Yes: locked bindings cannot be changed in R-devel any more, and
>> lubridate does that. The maintainer has been asked for an update already.
>>
>> Uwe Ligges
>>
>>> Thanks in advance,
>>> Rainer Hurling
>
> Thanks, Uwe Ligges and Peter Dalgaard, for clarifying this. So we have
> to wait for an update ...

Just for the record. With the new version 1.1.0 I am able to build and
install lubridate on FreeBSD again.

Thanks for the work,
Rainer Hurling

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Loading...