Description Usage Arguments Value See Also Examples
List draft and archived reports. This returns a data.frame with
columns name
(see orderly_list()
) and id
.
1 2 3 | orderly_list_drafts(root = NULL, locate = TRUE, include_failed = FALSE)
orderly_list_archive(root = NULL, locate = TRUE)
|
root |
The path to an orderly root directory, or |
locate |
Logical, indicating if the configuration should be
searched for. If |
include_failed |
Logical, indicating if failed drafts should
be listed (only has an effect for |
A data.frame
with columns name
and
id
, containing character vectors of report names and
versions, respectively.
orderly_list()
, which lists the names of
source reports that can be run, and orderly_latest()
which returns the id of the most recent report.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # The orderly demo, with lots of potential reports:
path <- orderly::orderly_example("demo")
# Reports that _could_ be run:
orderly::orderly_list(path)
# Run a report twice:
id1 <- orderly::orderly_run("minimal", root = path)
id2 <- orderly::orderly_run("minimal", root = path)
# We can see both drafts:
orderly::orderly_list_drafts(path)
# Nothing is in the archive:
orderly::orderly_list_archive(path)
# Commit a report:
orderly::orderly_commit(id2, root = path)
# Only one draft now
orderly::orderly_list_drafts(path)
# And the second report is in the archive:
orderly::orderly_list_archive(path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.