concatenate_files: Concatenate the Contents of a Set of Files

Description Usage Arguments

View source: R/utils.R

Description

Given a set of files, concatenate their contents into a single file.

Usage

1
2
3
4
5
6
7
8
concatenate_files(
  sources,
  target,
  headers = section_header(basename(sources)),
  preamble = NULL,
  postamble = NULL,
  verbose = configure_verbose()
)

Arguments

sources

An R list of files

target

The file to use for generation.

headers

Headers to be used for each file copied.

preamble

Text to be included at the beginning of the document.

postamble

Text to be included at the end of the document.

verbose

Boolean; inform the user when the requested file is created?


kevinushey/configure documentation built on March 26, 2021, 12:21 p.m.