! inside a package?


#1

What is the recommended way of using !! inside a package? Should I add importFrom(rlang,"!!") or is there a better way of doing this?


#2

That's what others seem to be doing (examples below)…
https://github.com/search?p=1&q=importFrom(rlang&type=Code

You might consider moving this to #package-development. (Nothing disappears, the thread stays the same— I just think it'd maximize your chance of getting the most informed opinions). :slight_smile:


#3

There is also usethis package with use_tidy_eval() function. It'll add all the necessary bits and pieces in the package.