I'm trying to write a function to speed up a task I do every time I open R, which is load my favorite packages. I am trying to make it do the job of two commands in one; which is to say, load either just {tidyverse} and {janitor} or, if I toggle on an option, load a whole list of packages I use for running analysis. I can't get it to work for some reason though. Command so far is this:
That is an entirely subjective decision and not an R convention. I happen to prefer <- but this is a matter of taste. One of the original R co-authors happens to hate it.
It does seem to be the norm in the R community, but I cannot stand the inefficiency of using two keystrokes to accomplish something I can do with one. I'll never switch over to the arrow personally.