get_resource_list: Get the full resource list of markdown files

Description Usage Arguments Value See Also

View source: R/utils-paths-source.R

Description

Get the full resource list of markdown files

Usage

1
get_resource_list(path, trim = FALSE, subfolder = NULL, warn = FALSE)

Arguments

path

path to the lesson

trim

if TRUE, trim the paths to be relative to the lesson directory. Defaults to FALSE, which will return the absolute paths

subfolder

the subfolder to check. If this is NULL, all folders will checked and returned (default), otherwise, this should be a string specifying the folder name in the lesson (e.g. "episodes").

warn

if TRUE and subfolder = "episodes", a message is issued to the user if the episodes field of the configuration file is empty.

Value

a list of files by subfolder in the order they should appear in the menu.

See Also

build_status()


zkamvar/sandpaper documentation built on Nov. 25, 2021, 1:16 p.m.