Skip to content

R CMD build says, 'Can't call method "print"'

2 messages · Seth Falcon, Brian Ripley

#
Hi,

While running R CMD build on one of the Bioc packages, I'm getting the
following error message

* creating vignettes ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source files
Can't call method "print" on an undefined value at /home/sfalcon/arch/x86_64/R-2.3/bin/build line 646.

The pacakge has CRLF line endings in source files.
_                                   
platform       x86_64-unknown-linux-gnu            
arch           x86_64                              
os             linux-gnu                           
system         x86_64, linux-gnu                   
status         RC                                  
major          2                                   
minor          3.0                                 
year           2006                                
month          04                                  
day            22                                  
svn rev        37906                               
language       R                                   
version.string Version 2.3.0 RC (2006-04-22 r37906)    


+ seth
#
This is a Perl scope problem on $log.  For a quick fix, remove 'my' where 
it is defined (the real fix is to pass $log down, and I'll do that in 
the sources).
On Sun, 23 Apr 2006, Seth Falcon wrote: