File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ extract_calls <- function(pd) {
106106 calls <- Filter(function (call ) ! (nrow(call ) == 1 && call $ token == " ';'" ), calls )
107107 calls <- Filter(Negate(is.null ), calls )
108108 calls <- fix_shifted_comments(calls )
109- calls <- remove_dt_assign (calls )
109+ calls <- remove_custom_assign (calls )
110110 fix_arrows(calls )
111111}
112112
@@ -145,7 +145,9 @@ fix_shifted_comments <- function(calls) {
145145 Filter(nrow , calls )
146146}
147147
148- # ' Fixes edge case of `:=` assignment operator being treated as assignment.
148+ # ' Fixes edge case of custom assignments operator being treated as assignment.
149+ # '
150+ # ' @param exclude (`character`) custom assignment operators to be excluded
149151# ' @keywords internal
150152# ' @noRd
151153remove_custom_assign <- function (calls , exclude = c(" :=" )) {
You can’t perform that action at this time.
0 commit comments