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

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Tue 25 Apr 2006 - 16:04:35 GMT

>>>>> "BernPf" == Pfaff, Bernhard Dr <Bernhard_Pfaff@fra.invesco.com> >>>>> on Tue, 25 Apr 2006 16:47:59 +0100 writes:

    BernPf> Pfaff, Bernhard Dr. wrote:
>> Dear R-Devel subscriber,
>>
>> first, let me express my thank to the R-Core team for the
>> new release!
    BernPf> 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
    BernPf> contributed
>> packages, e.g.
>>
>> library(ape) library(car) library(chron) library(urca)

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

    BernPf> Uwe Ligges

    BernPf> Dear Uwe,

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

not for 'VLMC' for me (maintainer of VLMC). Martin

    BernPf> 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
>>



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

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