Skip to content

extract_r_source() fix is buggy for knitr files without R chunks #1415

@AshesITR

Description

@AshesITR

Seen in devtools/tests/testthat/testVignetteExtras/vignettes/new.Rnw

Causes the fixed terminal_newline_linter() to return a line_number of 0, which errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions