Closed tbates closed 6 years ago
I can't reproduce the problem:
> roc_proc_text(rd_roclet(), "
+ #' Title
+ #'
+ #' \figure{GxE.png}
+ #' @md
+ foo <- function() {}")[[1]]
% Generated by roxygen2: do not edit by hand
% Please edit documentation in RtmpKkPvRp/filed0e9299cea9f
\name{foo}
\alias{foo}
\title{Title}
\usage{
foo()
}
\description{
igure{GxE.png}
}
Added @md tag to an existing oxygen function help, and got this error when making package
The offending chunk of #' code appears to be:
Be nice to either handle this as oxygen code, or give a more informative error ("naked \figure{} code found on line 48. Replace this with a markdown link?) (or whatever the actual user response should be)
cheers, t