Skip to content

Commit 781a18d

Browse files
Move library_call_linter() to new linters section (#2070)
1 parent 24370ab commit 781a18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
## New and improved features
99

10-
* `library_call_linter()` can detect if all library calls are not at the top of your script (#2027, @nicholas-masel).
1110
* Linters with logic around the magrittr pipe `%>%` consistently apply it to the other pipes `%!>%`, `%T>%`, `%<>%` (and possibly `%$%`) where appropriate (#2008, @MichaelChirico).
1211
+ `brace_linter()`
1312
+ `pipe_call_linter()`
@@ -27,6 +26,7 @@
2726

2827
### New linters
2928

29+
* `library_call_linter()` can detect if all library calls are not at the top of your script (#2027, @nicholas-masel).
3030
* `keyword_quote_linter()` for finding unnecessary or discouraged quoting of symbols in assignment, function arguments, or extraction (part of #884, @MichaelChirico). Quoting is unnecessary when the target is a valid R name, e.g. `c("a" = 1)` can be `c(a = 1)`. The same goes to assignment (`"a" <- 1`) and extraction (`x$"a"`). Where quoting is necessary, the linter encourages doing so with backticks (e.g. `` x$`a b` `` instead of `x$"a b"`).
3131
* `length_levels_linter()` for using the specific function `nlevels()` instead of checking `length(levels(x))` (part of #884, @MichaelChirico).
3232

0 commit comments

Comments
 (0)