Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

From: Pfaff, Bernhard Dr. <Bernhard_Pfaff_at_fra.invesco.com>
Date: Tue 25 Apr 2006 - 15:47:59 GMT


Pfaff, Bernhard Dr. wrote:

> Dear R-Devel subscriber,
>
> first, let me express my thank to the R-Core team for the new release!
I
> appreciate their efforts and time spent to enhance R.
> In accordance with the 'NEWS' file (see excerpt of it below),
>
> [...
> o Changed the environment tree to be rooted in an empty
> environment, available as emptyenv(). baseenv() has been
> modified to return an environment with emptyenv() as parent,
> rather than NULL.
>
> ...
>
> o Use of NULL as an environment is deprecated and gives a warning.
> ...]
>
> I detected the warning message as announced for a couple of
contributed
> packages, e.g.
>
> library(ape)
> library(car)
> library(chron)
> library(urca)

Not so for me. Are you sure you have reinstalled those packages under R-2.3.0?

Uwe Ligges

Dear Uwe,

thank you for your hint. That fixes the warnings for packages 'ape', 'car' and 'chron' issued formerly. However, even after a fresh install the warnings still show up for the packages 'VLMC' and 'urca', as an example.
Any further clues are most welcome.

Best,
Bernhard

> Now, I am wondering what would be a suitable/elegant way to fix the
> packages' code such that the warning does not appear any longer. I am
> adressing this question to R-devel, because this might also be of
> interest for other package mainatiners.
>
> Many thanks in advance for any hints and pointers.
>
> Regards,
> Bernhard
>
>
>
>
> Dr. Bernhard Pfaff
> Global Structured Products Group
> (Europe)
>
> Invesco Asset Management Deutschland GmbH
> Bleichstrasse 60-62
> D-60313 Frankfurt am Main
>
> Tel: +49(0)69 298 07230
> Fax: +49(0)69 298 07178
> Email: bernhard_pfaff@fra.invesco.com
> *****************************************************************
> Confidentiality Note: The information contained in this
mess...{{dropped}}
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Apr 26 01:50:15 2006

This archive was generated by hypermail 2.1.8 : Tue 25 Apr 2006 - 18:17:44 GMT