-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test/32 enable linters #52
base: main
Are you sure you want to change the base?
Conversation
foo <- function( arg1, arg2, ) { # do stuff }
Enable `undesirable_function_linter` and `undesirable_operator_linter`
Progress towards #31
Docker build status
|
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #52 +/- ##
========================================
+ Coverage 0.00% 1.90% +1.90%
========================================
Files 25 24 -1
Lines 1192 1839 +647
========================================
+ Hits 0 35 +35
- Misses 1192 1804 +612 ☔ View full report in Codecov by Sentry. |
I will review this in January 😊 |
|
Thanks @cjyetman for the catch. #52 (comment)
Good catch. Addressed in 13dc609 |
Note that #56 will introduce merge conflicts with this PR. |
lintr
Lintersobject_usage_linter
is still disabled: heavy use of.data
and.env
pronouns gives false positives for that linter.importFrom
) most external function dependencies (logger
is best used as an import, andrlang
's.data
,.env
and:=
are difficult to use without importing)magrittr
tobase
pipe (%>%
to|>
)get_scenario
andget_scenario_source
to usebase::strsplit
overstringr::str_split
magrittr
andstringr
<-
, consistentfunction()
style)Closes #32