This function can be used to list available reports stored in the factory, in inside the report_sources folder (or any subfolder within).

list_reports(factory = ".", pattern = NULL, ...)

Arguments

factory

The path to the report factory or a folder within the desired factory. Defaults to the current directory.

pattern

An optional regular expression used to look for specific patterns in report names.

...

additional parameters to pass to grep()

Value

A character vector containing the names of the reports in the specified factory (empty if there were no files).