[R] R CMD check, Windows XP, perl

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 4 14:06:38 CEST 2004


File::Basename is part of Perl.  Your @ING looks wrong (it contains no
Perl system directories).  Do you have any Perl environmental variables
such as PERL5LIB set?

On Fri, 4 Jun 2004, TEMPL Matthias wrote:

> Dear R users and developers,
> 
> I'm trying to build a package. The R CMD build works fine.
> 
> The R CMD check produces allways the following error:
> 
>   ..
>   installing indices
> Can`t locate File/Basename.pm in @ING (@ING contains: D:/../rw1090/share/perl
 d:/../rw1090/lib .) at D:/../rw1090/share/perl/build-help-windows.pl line 20. 
BEGIN failed--compilation aborted at D:/../rw1090/share/perl/build-help-windows.pl line 20.
> Make[2]: *** [indices] Error 2
> Make[1] *** [all] Error 2
> Make: *** [pkg-myyfunction] Error 2
> *** Installation of myyfunction failed ***
> 
> ..
> 
> bulid-help-windows.pl at line 20 contains:     use File::Basename;
> 
> library(myyfunction) works, but I have no documentation for my function.
> The documentation in the man-directory contains \name, \alias, \title,
> \description and \keyword, which I have filled correctly.
> 
> I haven't found something to solve my problem in the writing R
> extensions manual or in the readme.package file.

It's a problem with your Perl installation, so try instead your Perl 
documentation.

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




More information about the R-help mailing list