Describe the bug
If I have the following code with single quote and a comment :
#' @import shiny
this <- function() {
c(
'this',
#'this',
'this',
)
}
roxygen2::roxygenize() will produce the following NAMESPACE:
# Generated by roxygen2: do not edit by hand
import("this',")
import(shiny)
Expected behavior
The commented code inside the function body is not added to the NAMESPACE