Skip to content

Error on files with reference chunks (<<chunk>>) in .Rnw/.Rmd #1140

Open

Description

@MichaelChirico

{lintr} 3.1.0 simply skips these:

r-lib/lintr#779

But I just ran into the error when trying to style a file:

Warning message:
When processing /path/to/file.rmd: ℹ In index: 3.
Caused by error in `parse_safely()`:
! <text>:1:1: unexpected input
1: <<
    ^ 

See the lintr issue & PR for some examples.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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