[R] double backslashes in usage section of .Rd files

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Apr 4 16:54:44 CEST 2005


joerg van den hoff wrote:

> I have written a package, where a function definition includes a regexp 
> pattern including double backslashes, such as
> 
> myfunction <- function (pattern = ".*\\.txt$")
> 
> when I R CMD CHECK the corresponding .Rd file, I get warnings 
> (code/documentation mismatch), if I enforce two backslashes in the 
> documentation print out by
> 
> \usage { myfunction (pattern = ".*\\\\.txt$") }
> 
> have I to live with this or is their a way to avoid the warnings (apart 
> from being satisfied with a wrong manpage ...)?

Can you check with R-devel please? I think this has been fixed.

Uwe Ligges


> regards
> joerg
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list