[R] Package name

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Jan 31 22:51:15 CET 2013

On 31.01.2013 14:12, Duncan Murdoch wrote:
> On 13-01-31 1:26 AM, Ortiz, John wrote:
>> Dear list,
>> Can I use a character to set the name of a R package? like this (-)
>> for example (sdp-R)
> I can't quite parse your question, but I think the answer is in the
> Writing R Extensions manual, section 1.1 "Package Structure".

Right, and "-" is not allowed (but used as a version number separator).

It took me 10 seconds to find out by creating a package "a-b" that does 
not R CMD build with a proper error message - reading the docs would 
also result in the same finding, but takes a minute or two.

Uwe Ligges

> Duncan Murdoch
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list