-
Notifications
You must be signed in to change notification settings - Fork 195
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Description
Hi Jim,
Thanks for your wonderful package. I use it all the time.
I added a \Sexpr tag inside of my roxygen documentation block in order to generate dynamic content in my man pages, but this is causing line 4 of extract_r_source() to return a non-NULL value. As a result, lint_package() and expect_lint_free() throw back an error for the file that contains the line #' text \Sexpr{1 + 1} more text.
I realize that the regex is not your own, as it is imported from the knitr package via knitr::all_patterns$rnw$inline code. Nevertheless, is there a way around having Roxygen blocks with \Sexpr tags from throwing this error?
Thanks in advance,
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior