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
Labels
bug an unexpected problem or unintended behavior markdown ⬇️

Comments

@s-fleck
Copy link

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)
@hadley hadley added bug an unexpected problem or unintended behavior markdown ⬇️ labels Aug 16, 2017
@hadley hadley closed this as completed in 7c87da2 Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior markdown ⬇️
Projects
None yet
Development

No branches or pull requests

2 participants