From gregory.r.warnes at pfizer.com  Fri Nov 12 18:55:04 2004
From: gregory.r.warnes at pfizer.com (gregory.r.warnes@pfizer.com)
Date: Fri Nov 12 18:55:12 2004
Subject: [Rd] warnings(), last.warning, and libraries (PR#7363)
Message-ID: <20041112175504.9B5BEEB64@slim.kubism.ku.dk>


1) If warnings are generated during the installation of a library, the
'last.warning' object is retained in the environment.  

2) Since the warnings() does not explictly look in the .GlobalEnv for the
object it will find 'last.warning' objects in attached namespaces.  

--> Warnings from package instalation time can be reported at other times.

Easy solution: change the definition of warnings() to look in .GlobalEnv
explicitly.

-Greg

         _                
platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
status                    
major    2                
minor    0.0              
year     2004             
month    10               
day      04               
language R           




LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}


[Rd] warnings(), last.warning, and libraries (PR#7363)
gregory.r.warnes@pfizer.com