get_rmd_header_indices: Get the line indices of the header in an Rmd file

Description Usage Arguments

View source: R/get_rmd_header.R

Description

Get the line indices of the header in an Rmd file

Usage

1
get_rmd_header_indices(filename, file_lines = NULL, header_delimiter = "---")

Arguments

filename

the name of the Rmd file to read

file_lines

a character vector containing the lines of a source Rmd file.

header_delimiter

the delimiter for the beginning and ending of the Rmd header section.


michaelfrancenelson/rmd.utils documentation built on Dec. 21, 2021, 5:57 p.m.