[Rd] warnings(), last.warning, and libraries (PR#7363)

gregory.r.warnes at pfizer.com gregory.r.warnes at pfizer.com
Fri Nov 12 18:55:04 CET 2004


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



More information about the R-devel mailing list