Skip to content

Blank lines for @examples are transformed to blank roxygen2 comments #1084

@krlmlr

Description

@krlmlr
styler::style_text("
#' @export
#' @examples
#' a + b
#'
fun <- function() {
}
")
#> #' @export
#> #' @examples
#> #' a + b
#> #'
#> fun <- function() {
#> }

Created on 2022-12-26 with reprex v2.0.2

Introduced in 2b886c4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions