mut_node_car

0th

Percentile

Mutate node components

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".

Keywords
internal
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.

Aliases
  • mut_node_car
  • mut_node_cdr
  • mut_node_caar
  • mut_node_cadr
  • mut_node_cdar
  • mut_node_cddr
  • mut_node_tag
Documentation reproduced from package rlang, version 0.2.0, License: GPL-3

Community examples

Looks like there are no examples yet.