get_file_dependencies: Get content file dependencies

Description Usage Arguments Value

View source: R/html_rendering.R

Description

Return the absolute paths of content file dependencies files. Currently, only .html files are implemented.

Usage

1
get_file_dependencies(path, context = path, simplify = FALSE)

Arguments

path

(character) One or more content file files in which to look for references to other files.

context

(character) Working directory used when inferring relative dependency paths. Corresponds to path.

simplify

(logical of length 1) If FALSE, a list of paths are returned with elements corresponding to input directories in the path argument. If TRUE, a single character vector is returned.

Value

Depends on the simplify option.


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