Pipe operation giving warnings in devtools::check()

I am trying to create a package and using dplyr and pipe operations throughout. When I do devtools::check(), I get many warnings for the pipe operations.

no visible global function definition  for '%>%'
Undefined global functions or variables:  %>%

Is there any way to get rid of these warnings?

1 Like

You can use usethis::use_pipe() in your package. It will add all the necessary things.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.