Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


styler (version 1.4.0)

get_knitr_pattern: Get chunk pattern

Description

Determine a regex pattern for identifying R code chunks.

Usage

get_knitr_pattern(filetype)

Arguments

filetype

A string indicating the filetype - either 'Rmd' or 'Rnw'.