| use_pipe {usethis} | R Documentation |
Use magrittr's pipe in your package
Description
Does setup necessary to use magrittr's pipe operator, %>% in your package.
This function requires the use roxygen.
Adds magrittr to "Imports" in
DESCRIPTION.Imports the pipe operator specifically, which is necessary for internal use.
Exports the pipe operator, if
export = TRUE, which is necessary to make%>%available to the users of your package.
Usage
use_pipe(export = TRUE)
Arguments
export |
If |
Examples
## Not run:
use_pipe()
## End(Not run)
[Package usethis version 3.0.0 Index]