get_content_files: Get paths to content

Description Usage Arguments Value

View source: R/website.R

Description

Return the absolute paths to content files in a given directory.

Usage

1
get_content_files(path, q_opt, full_names = TRUE, simplify = TRUE)

Arguments

path

(character) One or more directories in which to look for content files.

q_opt

(function) The function used to get context-specific option values

full_names

(logical of length 1) See list.files help for option full.names.

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.