split_srcref {testex}R Documentation

Split a Source Reference at specific lines

Description

Split a Source Reference at specific lines

Usage

split_srcref(sr, where)

Arguments

sr

An original srcref object

where

A numeric vector of line numbers where the srcref should be split

Value

A list of srcref


[Package testex version 0.2.0 Index]