get_rmd_comments: get_rmd_comments

View source: R/rmd_utils.R

get_rmd_commentsR Documentation

get_rmd_comments

Description

Extract all comments from an Rmd file

Usage

get_rmd_comments(file, exclude = c("#SETUP"), write = TRUE)

Arguments

file

string indicating the file

exclude

character vector with pattern to excluding some comments

write

logical that indicate if returning a bullet list for printing. Default to TRUE.

Value

list of comments


filippogambarota/filor documentation built on July 3, 2025, 8:39 p.m.