balanceCurly {runExamplesWrapper}R 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")


[Package runExamplesWrapper version 1.0 Index]