pd_is_grouping: test if an id is a grouping element

Description Usage Arguments

View source: R/grouping.R

Description

A grouping is defined as a non empty set starting with a curly brace token and and for which there is no parent or the parent is also a grouping.

Usage

1
pd_is_grouping(id, pd, .check = TRUE)

Arguments

id

id of the expression of interest

pd

The parse-data information

.check

Perform checks for input validation?


RDocTaskForce/parsetools documentation built on April 10, 2020, 11:58 p.m.