split_roxygen_segments {styler} | R Documentation |
Split text into roxygen and non-roxygen example segments
Description
Split text into roxygen and non-roxygen example segments
Usage
split_roxygen_segments(text, roxygen_examples)
Arguments
text |
Roxygen comments |
roxygen_examples |
Integer sequence that indicates which lines in |
Value
A list with two elements:
A list that contains elements grouped into roxygen and non-roxygen sections. This list is named
separated
.An integer vector with the indices that correspond to roxygen code examples in
separated
.
[Package styler version 1.10.3 Index]