List reports that are present only as metadata; these are the
result of doing orderly_pull_archive() with
recursive = FALSE, in which case only metadata was
downloaded and not the report contents itself.
Arguments
- root
The path to an orderly root directory, or
NULL(the default) to search for one from the current working directory iflocateisTRUE.- locate
Logical, indicating if the configuration should be searched for. If
TRUEandconfigis not given, then orderly looks in the working directory and up through its parents until it finds anorderly_config.ymlfile.- include_archive
Logical, indicating if we should include reports that are also included in the archive.
Value
A data.frame() with columns name and
id, as for orderly_list_archive()
Examples
path <- orderly1::orderly_example("minimal")
# No metadata-only reports will be present, unless you have run
# orderly1::orderly_pull_archive(..., recursive = FALSE)
orderly1::orderly_list_metadata(path)
#> [1] name id
#> <0 rows> (or 0-length row.names)