Skip to content

Percentage sign not escaped correctly inside backticks `` #640

Description

@s-fleck

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviormarkdown ⬇️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions