[R] \dQuote in packages

Rebecca Sela rsela at stern.nyu.edu
Thu Jul 9 03:40:02 CEST 2009


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.)

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.


More information about the R-help mailing list