Skip to content

style does not commit changes made to .R files in tests/ #617

@Moohan

Description

@Moohan

Describe the bug
The style workflow does not commit any styled changes made to R scripts in the tests/ folder (even though styler is run against these with styler::style_pkg()). This results in an error when the tests are the only files styled, as styler makes the changes but then nothing is committed.

To Reproduce
failed build

Expected behavior
Style changes to the test scripts should also be committed.

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