I have a package which uses the line
dplyr::mutate(!!rlang::sym(column) := ifelse(!!rlang::quo(Anonymous), -1, !!!rlang::sym(column))) %>%
and it provides exactly the results I want. But when I run
CHECK, I get back this NOTE:
getUserDropdownSafetyObservation: no visible global function definition for ':='
Undefined global functions or variables: :=
What's the trick to rectifying this note without use of
globalVariables? I tried searching for solutions for about 20 minutes, but ":=" doesn't seem to be a very good search term.