From ripley at stats.ox.ac.uk  Mon Apr 24 08:03:58 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 24 Apr 2006 07:03:58 +0100 (BST)
Subject: [Rd] R CMD build says, 'Can't call method "print"'
In-Reply-To: <m2lktvbyyj.fsf@ziti.local>
References: <m2lktvbyyj.fsf@ziti.local>
Message-ID: <Pine.LNX.4.64.0604240658340.15505@gannet.stats.ox.ac.uk>

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:

> 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.
>
>
>> R.version
>               _
> 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
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] R CMD build says, 'Can't call method "print"'
Prof Brian Ripley