render_files_to_html: Convert a set of files to html

Description Usage Arguments Value

View source: R/html_rendering.R

Description

Render a selection of files into HTML, preserving their relative directory structure. Target files will be converted to HTML if they are not already HTML. The original files and any files the HTML representations reference will be copied to a new location. Enough of the directory structure will be copied to allow files to have to same paths relative to eachother as the original files.

Usage

1
render_files_to_html(from, to, copy_depend = TRUE, partial_copy = TRUE)

Arguments

from

(character) The paths to content files to copy.

to

(character of length 1) The path to where the content files and their dependencies will be copied.

copy_depend

(logical of length 1) If FALSE, dependencies will not be copied.

partial_copy

(logical of length 1) If FALSE, The entire root directory of the content files will be copied instead of just the content files and their dependencies.

Value

(character) Paths of where the content files were copied to.


grunwaldlab/quiltr documentation built on May 17, 2019, 8:40 a.m.