[Rd] Improve error message for bad NAMESPACE file?

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Wed 08 Feb 2006 - 06:24:11 GMT


If a user mis-types a directive in the NAMESPACE file, the error message is quite cryptic. If it was possible to report the offending line/text that would likely give a valuable clue to the user.

Try putting the following line in NAMESPACE

foo("bar")

Then R CMD INSTALL says,

platform       powerpc-apple-darwin8.4.0                                     
arch           powerpc                                                       
os             darwin8.4.0                                                   
system         powerpc, darwin8.4.0                                          
status         Under development (unstable)                                  
major          2                                                             
minor          3.0                                                           
year           2006                                                          
month          02                                                            
day            05                                                            
svn rev        37270                                                         
language       R                                                             
version.string Version 2.3.0 Under development (unstable) (2006-02-05 r37270)
--
 + seth

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Feb 08 17:30:43 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:40 GMT