extract_non_chunks: Extract non-chunks from an Rmd file.

View source: R/utils.R

extract_non_chunksR Documentation

Extract non-chunks from an Rmd file.

Description

Extracts non-chunks from an Rmd file.

Usage

extract_non_chunks(rmd_name, out_name)

Arguments

rmd_name

A character string, the name of the rmd file to get the chunks from.

out_name

An output filename, to dump the text to.

Value

If out_name is missing, then a character vector is returned. If outfname is specified, then nothing is returned. The text is written to the file instead.


autoharp documentation built on April 3, 2025, 6:36 p.m.