grab_header: Extract metadata from an RMD file.

View source: R/rmd_header.R

grab_headerR Documentation

Extract metadata from an RMD file.

Description

Extract metadata from the YAML header in an RMD file.

Usage

grab_header(f, buflines = 20)

Arguments

f

The filename

buflines

How big a chunk to read in at a time.

Value

A data frame containing the header metadata.


jonathan-g/semestr documentation built on Jan. 23, 2025, 3:10 p.m.