List source reports - that is, directories within src/
that
look suitable for running with orderly; these will be directories
that contain an entrypoint file - a .R
file with the same name
as the directory (e.g., src/data/data.R
corresponds to data
).
Arguments
- root
The path to the root directory, or
NULL
(the default) to search for one from the current working directory. This function does require that the directory is configured for orderly, and not just outpack (see orderly_init for details).
Value
A character vector of names of source reports, suitable for passing to orderly_run
See also
orderly_metadata_extract for listing packets that have completed
Examples
path <- orderly2::orderly_example("default")
#> ✔ Created orderly root at '/tmp/Rtmpl7F6gT/orderly2_ex_1d2c148ad5eb'
orderly2::orderly_list_src(root = path)
#> [1] "data"
fs::dir_delete(path)