[Rd] Malformed package name (PR#8314)

maechler@stat.math.ethz.ch maechler at stat.math.ethz.ch
Wed Nov 16 12:05:50 CET 2005

>>>>> "petrakl" == petrakl  <petrakl at zce.cz>
>>>>>     on Wed, 16 Nov 2005 10:10:46 +0100 (CET) writes:

    petrakl> Full_Name: L. Petrák
    petrakl> Version: 2.2
    petrakl> OS: w2k
    petrakl> Submission from: (NULL) (

    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 ?

    petrakl> =====
    petrakl> char "-" is not alowed in package name (bug in
    petrakl> 'build' script or 'utils.R' or 'manuals/R-ext')

Martin Maechler, ETH Zurich

More information about the R-devel mailing list