balanceCurly: balanceCurly

View source: R/runExamplesWrapper.R

balanceCurlyR Documentation

balanceCurly

Description

retrieve lines of text between '@examples' and matching curly braces

Usage

balanceCurly(v)

Arguments

v

character vector

Value

returns lines of text between '@examples' and matching curly braces

Examples

v<-c("@examples{","xxx","}","{","{")
x<-balanceCurly(v)
cat(x,sep="\n")


runExamplesWrapper documentation built on April 12, 2025, 2:01 a.m.