Skip to content
Back to formatted view

Raw Message

Message-ID: <16236.13878.273850.295483@mithrandir.hornik.net>
Date: 2003-09-20T13:13:55Z
From: Kurt Hornik
Subject: R CMD INSTALL is sensitive to trailing newlines in DESCRIPTION.in
In-Reply-To: <000601c37eb1$e282f410$e502eb82@maths.lth.se>

>>>>> Henrik Bengtsson writes:

> Hi, with R v1.7.1 (=I don't recall I saw it before) I noticed that R CMD
> INSTALL sometimes generates nonsense information, e.g. "Bundle: NA",
> even if there was a correct DESCRIPTION file too.  I turns out that it
> happens when a DESCRIPTION.in has empty lines at the end. I have
> observed this behavior on both Sun Solaris 9 and Windows XP Pro (but
> here I am using unsupported Cygwin w/ perl).

> Here is a reproducible example:

> ...

> Should I report this is as a bug?

No, as I am about to commit a fix to the Unix INSTALL script :-)

Windows maintainers: I suspect that src/gnuwin32/fixed/dobundle.pl needs
a similar change, perhaps something like

	next if (/^ *$/);

in the loop writing the DESCRIPTION file.

-k