[Rd] R 2.3.0: Use of NULL as an environment is deprecated
Pfaff, Bernhard Dr.
Bernhard_Pfaff at fra.invesco.com
Tue Apr 25 18:08:16 CEST 2006
Pfaff, Bernhard Dr. wrote:
> 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.
OS? R release?
and please report the result of
packageDescription("urca")
packageDescription("VLMC")
Uwe Ligges
Hello Uwe,
here is the detailed information:
> R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 3.0
year 2006
month 04
day 24
svn rev 37909
language R
version.string Version 2.3.0 (2006-04-24)
Package: urca
Version: 0.9-2
Date: 2006-02-25
Title: Unit root and cointegration tests for time series data
Author: Bernhard Pfaff <bernhard.pfaff at pfaffikus.de>
Maintainer: Bernhard Pfaff <bernhard at pfaffikus.de>
Depends: R (>= 2.0.0)
Imports: nlme, methods, graphics, stats
LazyLoad: yes
Description: Unit root and cointegration tests encountered in applied
econometric analysis are implemented.
License: GPL version 2 or newer
URL: http://www.r-project.org
Packaged: Sat Feb 25 19:34:29 2006; bp
Built: R 2.3.0; ; 2006-03-03 21:12:31; windows
-- File: C:/R/package/urca/DESCRIPTION
> packageDescription("VLMC")
Package: VLMC
Version: 1.3-9
Note: ===== vlmc.version in R/vlmc.R
Date: 2005-10-06
Author: Martin Maechler <maechler at stat.math.ethz.ch>
Maintainer: Martin Maechler <maechler at stat.math.ethz.ch>
Title: VLMC -- Variable Length Markov Chains
Description: Functions, Classes & Methods for estimation, prediction,
and simulation (bootstrap) of VLMC -- Variable Length Markov
Chain -- Models
Depends: stats, MASS
License: GPL version 2 or later
Packaged: Thu Oct 6 15:00:09 2005; maechler
Built: R 2.3.0; i386-pc-mingw32; 2006-03-03 19:04:48; windows
-- File: C:/R/package/VLMC/DESCRIPTION
Both packages have Depends/Imports directives in their DESCRIPTION
files. Now, I do get the following for VLMC if I do a 'library(MASS)'
first:
> library(MASS)
Warning message:
Verwendung der NULL Umgebung ist veraltet
> library(VLMC)
>
and likewise for urca:
> library(nlme)
Warning message:
Verwendung der NULL Umgebung ist veraltet
> library(urca)
>
> 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 at fra.invesco.com
>>*****************************************************************
>>Confidentiality Note: The information contained in this
>
> mess...{{dropped}}
>
>>______________________________________________
>>R-devel at r-project.org mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
More information about the R-devel
mailing list