Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mut_node_car

Mutate node components


Description

Deprecated lifecycle

These functions were 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.


rlang

Functions for Base Types and Core R and 'Tidyverse' Features

v0.4.11
MIT + file LICENSE
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], mikefc [cph] (Hash implementation based on Mike's xxhashlite), Yann Collet [cph] (Author of the embedded xxHash library), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.