dot-checkSection: Check for a section existence in a nested list

Description Usage Arguments Value Examples

Description

Check for a section existence in a nested list

Usage

1
.checkSection(object, sectionNames)

Arguments

object

list to inspect

sectionNames

vector or characters with sectio names to check for

Value

logical indicating whether the sections where found in the list

Examples

1
2
3
l = list(a=list(b="test"))
.checkSection(l,c("a","b"))
.checkSection(l,c("c","b"))

pepr documentation built on Jan. 13, 2021, 3:50 p.m.