Trying to escape [ characters outside of code blocks generates broken .Rd files.
Examples (in the description block, but the bug occurs in other blocks as well):
#' \[ test \] description
generates
\description{
[ test ] description
[ test ]: R:%20test%20%5C
}
A way around this is currently to only escape the beginning [ character:
to get
\description{
[ test ] description
}
However, I have not found a way to put a link between escaped brackets (without resorting to \link):
#' \[ [test] ] description
gives (also when escaping both outer [ and ]):
\description{
[ [test] ] description
[ [test]: R:%20[test
}
Trying to escape
[characters outside of code blocks generates broken.Rdfiles.Examples (in the description block, but the bug occurs in other blocks as well):
generates
A way around this is currently to only escape the beginning
[character:to get
However, I have not found a way to put a link between escaped brackets (without resorting to
\link):gives (also when escaping both outer
[and]):