Joerg van den Hoff
2007-May-04  14:30 UTC
[R] code/documentation mismatch with backslashes in argument list
I have a function definition such as
f <- function (pattern = ".*\\.txt") {....}
in the manpage this has to be documented as 
f <- function (pattern = ".*\\\\.txt") 
in order to get the correct display (with double backslash) in the R console
when issuing `?f', but this causes complains from `R CMD CHECK' (code
documentation mismatch), which is not nice.
question: is there (or will there be with future releases) a way to avoid these
warnings without loosing the correct display of the manpage?
regards,
joerg