From hornik at ci.tuwien.ac.at  Wed Jul 16 08:36:26 2003
From: hornik at ci.tuwien.ac.at (Kurt Hornik)
Date: Wed Jul 16 07:38:41 2003
Subject: [Rd] Undefined subroutine &R::Rdconv::fill (PR#3485)
In-Reply-To: <x2ptkb8ls3.fsf@biostat.ku.dk>
References: <200307151656.h6FGuOJH000875@pubhealth.ku.dk>
	<x2ptkb8ls3.fsf@biostat.ku.dk>
Message-ID: <16148.58458.680003.755101@mithrandir.hornik.net>

>>>>> Peter Dalgaard BSA writes:

> michael.t.klinglesmith@intel.com writes:
>> make[1]: Leaving directory `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/doc'
>> make[1]: Entering directory `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/src/library'
>> building all R object docs (text, HTML, LaTeX, examples)
>> make[2]: Entering directory `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/src/library'
>> Undefined subroutine &R::Rdconv::fill called at
>> /fs38/odc.arch.3/mtklingl/R/R-1.7.1/share/perl/R/Rdconv.pm line 1955, <rdfile>
>> chunk 381.
> ....
>> ]perl -v
>> 
>> This is perl, version 5.004_04 built for i386_linux22
>> 
>> Copyright 1987-1997, Larry Wall

> I would suspect that this is the culprit. We do check that the perl
> version is at least 5.004 so we expect your version to work, but on
> the other hand it is quite old (~ 6 years it would seem) and quite
> likely noone actually checked against that version when making changes
> to Rdconv.

Actually ...

It seems that Text::Wrap::fill() was added between 5.004_04 and
5.004_05.  I had not realized that the former was an official release.

We can

* Try to special-case 5.004_04 and provide the version of fill()
  indicated in the Text::Wrap documentation;

* Decide we've played enough with this and require either 5.004_05 (can
  we do this?) or 5.005.

-k


[Rd] Undefined subroutine &R::Rdconv::fill (PR#3485)
Kurt Hornik