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
these are coming from Google having the opposite policy which is always to have explicit returns.
in fact ExplicitReturnLinter is part of the extended suite (explicitly tabled because of this conflicting issue), so we can work the new option into the implementation there.
Tidyverse expects implicit returns, so those should be the default.
Basically check that the last expr in all function definitions is a) never a return() or b) always a return().
Signature could maybe be
return_linter(use_implicit_returns = TRUE)
?The google linters introduced a bunch of these (
grep return\(lapply\( R/*.R
)The text was updated successfully, but these errors were encountered: