Skip to content

Change in R devel causes different error message for _, making {styler} fail R CMD check #925

@lorenzwalthert

Description

@lorenzwalthert

I will soon be committing a change to R-devel that will change error
messages produced by the parser when the underscore character _ is
used inappropriately. styler currently tests for a specific message
and will fail once that change is committed. The test that will fail
is

testthat::expect_error(...) at test-escaping.R:14:2

It would be better to change this to not assume a particular message.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions