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

doesn't escape % in @describeIn #450

Closed
MrLoh opened this issue Jan 28, 2016 · 0 comments
Closed

doesn't escape % in @describeIn #450

MrLoh opened this issue Jan 28, 2016 · 0 comments

Comments

@MrLoh
Copy link

@MrLoh MrLoh commented Jan 28, 2016

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.

@hadley hadley closed this in fd7554c Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant