powered by
The function adds the useful operators to use in your project. These operators include:
%>% Forward Pipe operator
%>%
%||% NULL operator
%||%
use_pipes(path = "R", export = TRUE)
(character) A path pointing at where to copy the file.
character
If TRUE, the file content is exported to NAMESPACE.
TRUE
NAMESPACE
No return value, called for side effects.
The function:
Copies a file with several pipes 'path/utils-pipes.R' and
path
Imports the purrrpackage in the project DESCRIPTION file
purrr
# NOT RUN { path <- tempfile() use_pipes(path) print(readLines(file.path(path, "utils-pipes.R"))) # }
Run the code above in your browser using DataLab