orderly_info: 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.
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
Arguments
id
The report ID
name
The name of the report
root
The path to an orderly root directory, or NULL
(the default) to search for one from the current working
directory if locate is TRUE.
locate
Logical, indicating if the configuration should be
searched for. If TRUE and config is not given,
then orderly looks in the working directory and up through its
parents until it finds an orderly_config.yml file.