[R] \dQuote in packages

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Jul 9 12:05:46 CEST 2009


Rebecca,

the attachments have been stripped off by the mailing list.


Rebecca Sela wrote:
> That's good to know.  I have attached three Rd files that gave errors (others gave identical errors).  I would love to know what is wrong with them.
> 
> I'm using 2.1.1 because that is what is installed on the Linux computer I have access to.  (I haven't bothered figuring out how to assemble a package in Windows.)

You should *really* upgrade! That version is outdated for several years now.

How to do it on Windows: See the R Installation and Administration 
manual with its corresponding section.

Best,
Uwe


> Thank you for your help!
> 
> Rebecca
> 
> 
> ----- Original Message -----
> From: "Uwe Ligges" <ligges at statistik.tu-dortmund.de>
> To: "Rebecca Sela" <rsela at stern.nyu.edu>
> Cc: "r-help" <r-help at r-project.org>
> Sent: Wednesday, July 8, 2009 6:11:33 PM GMT -05:00 US/Canada Eastern
> Subject: Re: [R] \dQuote in packages
> 
> The difference you are experiencing is the new Rd2 parser that is more 
> picky now (but also prevents to produce wrong documentation files).
> 
> If you make the code of the Rd available, someone might be able to help.
> 
> Are you really under R-2.1.1 ??? That is really ancient!
> 
> 
> Best,
> Uwe Ligges
> 
> 
> 
> Rebecca Sela wrote:
>> I am in the process of submitting a package to CRAN.  R CMD check ran successfully on the package on my local computer, using R version 2.1.1.  However, on the computers for CRAN (with version 2.10.0), the following errors occurred:
>>
>> Warning in parse_Rd("./man/predict.Rd", encoding = "unknown") :
>>   ./man/predict.Rd:28: unknown macro '\dquote'
>> *** error on file ./man/predict.Rd
>> Error : ./man/predict.Rd:28: Unrecognized macro \dquote
>> Warning in parse_Rd("./man/print.Rd", encoding = "unknown") :
>>   ./man/print.Rd:17: unexpected UNKNOWN '\sideeffects'
>> Warning in parse_Rd("./man/simpleREEMdata.Rd", encoding = "unknown") :
>>   ./man/simpleREEMdata.Rd:10: unknown macro '\item'
>>
>> Are \dquote, \sideeffects, and \item not supported in newer versions of R?  Is there some underlying problem that I should fix that makes these show up?
>>
>> Thank you very much.
>>
>> Rebecca
>>
>> ______________________________________________
>> 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.
>>
>> ------------------------------------------------------------------------
>>
>> ______________________________________________
>> 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