Learn R Programming

rlang (version 0.2.2)

mut_node_car: Mutate node components

Description

These functions were soft-deprecated and renamed with node_poke_ prefix in rlang 0.2.0. This change follows a new naming convention where mutation is referred to as "poking".

Usage

mut_node_car(x, newcar)

mut_node_cdr(x, newcdr)

mut_node_caar(x, newcar)

mut_node_cadr(x, newcar)

mut_node_cdar(x, newcdr)

mut_node_cddr(x, newcdr)

mut_node_tag(x, newtag)

Arguments

x

A language or pairlist node. Note that these functions are barebones and do not perform any type checking.

newcar

The new CAR or CDR for the node. These can be any R objects.

newcdr

The new CAR or CDR for the node. These can be any R objects.

newtag

The new tag for the node. This should be a symbol.