methods_overwrite {duckplyr} | R Documentation |
Forward all dplyr methods to duckplyr
Description
After calling methods_overwrite()
, all dplyr methods are redirected to duckplyr
for the duraton of the session, or until a call to methods_restore()
.
The methods_overwrite()
function is called automatically when the package is loaded
if the environment variable DUCKPLYR_METHODS_OVERWRITE
is set to TRUE
.
Usage
methods_overwrite()
methods_restore()
Value
Called for their side effects.
Examples
tibble(a = 1:3) %>%
mutate(b = a + 1)
methods_overwrite()
tibble(a = 1:3) %>%
mutate(b = a + 1)
methods_restore()
tibble(a = 1:3) %>%
mutate(b = a + 1)
[Package duckplyr version 0.4.1 Index]