-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviormarkdown ⬇️
Description
In roxygen2 6.0.1, specifying code in markdown link text fails to generate a properly enclosed \code tag.
Example: The block
#' foo
#' @param x Leaky scope [`tryCatch`][base::tryCatch()].
foo <- function(x) NULLproduces an incomplete Rd file:
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/foo.R
\name{foo}
\alias{foo}
\title{foo}
\usage{
foo(x)
}
\arguments{
\item{x}{Leaky scope \code{\link[base:tryCatch]{tryCatch}.}
}
\description{
foo
}
\code omits a closing }.
Is this related to #521?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviormarkdown ⬇️