Hi
Let's say I need to use the %||% operator from rlang and don't want to load the entire rlang package. What would be the proper notation?
x <- NULL
y <- TRUE
# Doesn't work
x rlang::`%||%` y
Thanks
Hi
Let's say I need to use the %||% operator from rlang and don't want to load the entire rlang package. What would be the proper notation?
x <- NULL
y <- TRUE
# Doesn't work
x rlang::`%||%` y
Thanks
library(rlang, include.only=“%||%”)
x <- NULL
y <- TRUE
rlang::`%||%`(x,y)
Thanks
That will be useful
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.