conflicts_prefer {conflicted} | R Documentation |
Declare many preferences at once
Description
conflicts_prefer()
allows you to declare "winners" of conflicts,
declaring one or many winners at once.
See conflict_prefer()
for more precise control.
Usage
conflicts_prefer(..., .quiet = FALSE)
Arguments
... |
Functions to prefer in form |
.quiet |
If |
Best practices
I recommend placing a single call to conflicts_prefer()
at the top of
your script, immediately after loading all needed packages with calls to
library()
.
Examples
conflicts_prefer(
dplyr::filter(),
dplyr::lag(),
)
# or
conflicts_prefer(
dplyr::filter,
dplyr::lag,
)
[Package conflicted version 1.2.0 Index]