get-attr: Infix attribute accessor

get-attrR Documentation

Infix attribute accessor

Description

[Deprecated]

This function was deprecated in purrr 0.3.0. Instead, lease use the ⁠%@%⁠ operator exported in rlang. It has an interface more consistent with @: uses NSE, supports S4 fields, and has an assignment variant.

Usage

x %@% name

Arguments

x

Object

name

Attribute name


hadley/purrr documentation built on June 13, 2025, 2:01 a.m.