Closed Torvaney closed 5 years ago
Unnecessary and not in keeping with the tidyverse style guide: http://style.tidyverse.org/functions.html#return
More generally, return is a function, which can lead to some unexpected behaviour (hence the recommended style). See 8.3.27 in https://www.burns-stat.com/pages/Tutor/R_inferno.pdf
return
This has more or less been done with a shifting style over time (only direction_label left untouched). Not worth having as a whole issue.
direction_label
Unnecessary and not in keeping with the tidyverse style guide: http://style.tidyverse.org/functions.html#return
More generally,
return
is a function, which can lead to some unexpected behaviour (hence the recommended style). See 8.3.27 in https://www.burns-stat.com/pages/Tutor/R_inferno.pdf