No more copy pastes, already posed issues and time consuming each time.
A safe_* function is wrapped around its dplyr counterpart with exactly the same code, and always has the same formals + a fixed list. So let's just have make_safe() and safe_left_join = make_safe(dplyr::left_join)
We need also to get rid of the dots and add the na_matches with an exception for nest_join. So make_safe should have add_na_matches = TRUE by default
No more copy pastes, already posed issues and time consuming each time.
A
safe_*
function is wrapped around its dplyr counterpart with exactly the same code, and always has the same formals + a fixed list. So let's just havemake_safe()
andsafe_left_join = make_safe(dplyr::left_join)
We need also to get rid of the dots and add the
na_matches
with an exception for nest_join. Somake_safe
should haveadd_na_matches = TRUE
by default