Soft-deprecated lifecycle

Please use the %@% operator exported in rlang. It has an interface more consistent with @: uses NSE, supports S4 fields, and has an assignment variant.

x %@% name

Arguments

x

Object

name

Attribute name

Examples

factor(1:3) %@% "levels"
#> Warning: `%@%` is soft-deprecated as of purrr 0.3.0. #> Please use the operator provided in rlang instead. #> This warning is displayed once per session.
#> [1] "1" "2" "3"
mtcars %@% "class"
#> [1] "data.frame"