Skip to content

False positive in function_left_parentheses_linter() #1963

@IndrajeetPatil

Description

@IndrajeetPatil
'roxygen2::roc_proc_text(paste(roxygen, collapse = "\n"))[[1L]]$get_section("examples")' -> code

lintr::lint(text = code, linters = lintr::function_left_parentheses_linter())
#> <text>:1:1: style: [function_left_parentheses_linter] Left parenthesis should be on the same line as the function's symbol.
#> roxygen2::roc_proc_text(paste(roxygen, collapse = "
#> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Created on 2023-04-17 with reprex v2.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-positivecode that shouldn't lint, but doesregressioncode that used to work, but now doesn't

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions