You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To help us read any code you include (optional) please try to follow the tidyverse style guide. The style_text() and style_file() functions from the styler package make it easier.
Reproducible example
For any problems you identify, post a minimal reproducible example so the maintainer can troubleshoot. A reproducible example is:
Runnable: post enough R code and data so any onlooker can create the error on their own computer.
Minimal: reduce runtime wherever possible and remove complicated details that are irrelevant to the issue at hand.
The linters snake_case_linter and camel_case_linter have been deprecated in {lintr} and were removed from the set of default linters provided by that package prior to lintr v2 (ie, earlier than the current CRAN release of lintr, which targets uses in CI).
In the config, the line snake_case_linter=NULL originally would have prevented newly-named objects that are not 'snake_case' from throwing an object-naming lint.
To permit snake-case vars you would now use object_name_linter("snake_case") in the config, but I noted that object_name_linter has also been NULL-ed out (so, naming issues do not throw lints during targets' CI runs)
Since these linters are now deprecated, they can be removed from your lintr config without any effect.
The text was updated successfully, but these errors were encountered:
Prework
Description
Please describe the issue.
To help us read any code you include (optional) please try to follow the tidyverse style guide. The
style_text()
andstyle_file()
functions from thestyler
package make it easier.Reproducible example
The linters
snake_case_linter
andcamel_case_linter
have been deprecated in {lintr} and were removed from the set of default linters provided by that package prior to lintr v2 (ie, earlier than the current CRAN release of lintr, which targets uses in CI).In the config, the line
snake_case_linter=NULL
originally would have prevented newly-named objects that are not 'snake_case' from throwing an object-naming lint.To permit snake-case vars you would now use
object_name_linter("snake_case")
in the config, but I noted that object_name_linter has also been NULL-ed out (so, naming issues do not throw lints during targets' CI runs)Since these linters are now deprecated, they can be removed from your lintr config without any effect.
The text was updated successfully, but these errors were encountered: