Hi,
Consider this piece of code:
#' @inherit base::file.path
catPath <- file.path
When I run devtools::document(), all goes well. However, if I then run devtools::build(), I get the following warning:
Warning: [...]/man/catPath.Rd:34: unexpected END_OF_INPUT '
In the corresponding Rd file, I have:
so as from \R 3.1.0 a trailing \code{/} or \code{\} is removed.
It seems like roxygen2 should have escaped the backslash to a double-backslash when processing the @inherit directive.
Cheers,
Florent
Hi,
Consider this piece of code:
When I run
devtools::document(), all goes well. However, if I then rundevtools::build(), I get the following warning:In the corresponding Rd file, I have:
It seems like roxygen2 should have escaped the backslash to a double-backslash when processing the @inherit directive.
Cheers,
Florent