[R] double backslashes in usage section of .Rd files
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 ...)? regards joerg __ R-help@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
Re: [R] double backslashes in usage section of .Rd files
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@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 __ R-help@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