orderly_info {orderly} | R Documentation |
Return info about a report which has been run
Description
This will return info from either successful or failed reports. It will
look for the report with id
in archive first and then look in drafts
if it can't be found from archive.
Usage
orderly_info(id, name, root = NULL, locate = TRUE)
Arguments
id |
The report ID |
name |
The name of the report |
root |
The path to an orderly root directory, or |
locate |
Logical, indicating if the configuration should be
searched for. If |
Value
Info from report run - this is subject to change. Returns a list which includes report id, name, indication of success, run date and elapsed time, parameters, git info (if available), path to logfile (if exists) and details of error if the run failed
Examples
path <- orderly::orderly_example("demo")
id <- orderly::orderly_run("minimal", root = path)
orderly::orderly_info(id, "minimal", root = path)