Skip to content

doesn't escape % in @describeIn #450

@MrLoh

Description

@MrLoh

This code:

#' @describeIn foo shortcut for foo
`%foo%` <- function(x, y) foo(x, y)

generates the following foo.Rd

\name{foo}
\alias{\%foo\%}
\alias{foo}

 ...

\section{Functions}{
\itemize{
\item \code{%foo%}: shortcut for foo
}}

where the %s don't get escaped properly which breaks the LaTeX, as seen above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions