[Rd] Malformed package name (PR#8314)

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Nov 16 13:05:17 CET 2005


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--27464147-1563048805-1132142703=:11543
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Wed, 16 Nov 2005 maechler at stat.math.ethz.ch wrote:

>>>>>> "petrakl" =3D=3D petrakl  <petrakl at zce.cz>
>>>>>>     on Wed, 16 Nov 2005 10:10:46 +0100 (CET) writes:
>
>    petrakl> Full_Name: L. Petr=E1k
>    petrakl> Version: 2.2
>    petrakl> OS: w2k
>    petrakl> Submission from: (NULL) (193.109.177.11)
>
>
>    petrakl> # rcmd build Translation-it
>    petrakl> * checking for file 'Translation-it/DESCRIPTION' ... OK
>    petrakl> * preparing 'Translation-it':
>    petrakl> * checking DESCRIPTION meta-information ... ERROR
>    petrakl> Malformed package name
>
>    petrakl> See the information on DESCRIPTION files in section 'Creating=
 R
>    petrakl> packages' of the 'Writing R Extensions' manual.
>
> if you do what this error message tells you,
> you should quickly find
>
>>>    The `Package' and `Version' fields give the name and the version of
>>> the package, respectively.  The name should consist of letters,
>>> numbers, and the dot character and start with a letter. ...............
>
> Hence it's clear that the character "-" is not allowed in a
> package name.
>
> So why do you think this is a bug ?

Because that form 'Translation-ll' is recommended in the R-exts manual
for translation packages.  We do say R CMD build will build such=20
packages, and at the time it was written it did.  So we need to make an=20
exception in 'build' for translation packages.

--=20
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
--27464147-1563048805-1132142703=:11543--



More information about the R-devel mailing list