What is `Config/autostyle/*:` for in pkg `DESCRIPTION`?

I've just noticed some packages (e.g. DBI or pillar) add lines like

Config/autostyle/scope: line_breaks
Config/autostyle/strict: true

to their package DESCRIPTION.

What do these lines configure exactly? I couldn't find anything about it using search engines.

These lines go together with the GitHub Actions workflow for running {styler} that @krlmlr has in quite a few packages, see pillar/.github/workflows/style/action.yml at main · r-lib/pillar · GitHub

For more info on custom DESCRIPTION fields in general, see R Packages (2e) - 9  DESCRIPTION

Thank you very much @maelle for the explanation! I didn't realize this config is for a GH action, but rather thought it was some (undocumented) config for styler or another R package I missed out on.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.