You can fix this with the dev version of roxygen, you can get it from
https://github.com/r-lib/roxygen2
roxygen 7.1.1 with the fix will be on CRAN shortly, hopefully:
https://github.com/r-lib/roxygen2/issues/1126
See more about this issue here:
https://www.mail-archive.com/r-package-devel@r-proje
Dear colleagues,
preparing a release of my package ‚polmineR’ I encountered the following issue
with a new warning issued when running R CMD check with the --as-cran option on
Debian with R-devel.
To reexport the magrittr pipe operator %>%, my package adopted I snippet you’d
see in the dplyr p