Fetch information about the actively running report. This allows you to reflect information about your report back as part of the report, for example embedding the current report id, or information about computed dependencies. This information is in a slightly different format to orderly version 1.x and does not (currently) include information about dependencies when run outside of orderly_run, but this was never reliable previously.
Value
A list with elements
name
: The name of the current reportid
: The id of the current report,NA
if running interactivelyroot
: The orderly root pathdepends
: A data frame with information about the dependencies (not available interactively)index
: an integer sequence along calls toorderly_dependency
name
: the name of the dependencyquery
: the query used to find the dependencyid
: the computed id of the included packetfilename
: the file used from the packetas
: the filename used locally