Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percentage sign not escaped correctly inside backticks `` #640

Closed
s-fleck opened this issue Jul 19, 2017 · 0 comments
Closed

Percentage sign not escaped correctly inside backticks `` #640

s-fleck opened this issue Jul 19, 2017 · 0 comments

Comments

@s-fleck
Copy link

@s-fleck s-fleck commented Jul 19, 2017

The following code throws a warning and does not produce a valid Description under roxygen 6.0.1

#' foobar
#'
#' `0.5\%`
#'
#' @md
#' @export
foobar <- function(){
  NULL
}

The following produce a valid description, but not as wanted:

#' 0.5\%     works (but is not verbatim text)
#' `0.5\\%`  produces verbatim 0.5\%  (so no error, but an unwanted extra backslash)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants