Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


styler (version 0.0-8)

identify_chunks: Identify chunks within Rmd contents

Description

Identifies the code and text chunks within an Rmd file, and returns these as a nested list.

Usage

identify_chunks(lines)

Arguments

lines

a character vector of lines from an Rmd file