Returns the path of the sidecar belonging to a rendered output: the output
path with its extension replaced by .provenance.json.
Arguments
- path
Character(1). Path to a rendered output.
Value
Character(1). The sidecar path.
Examples
provenance_path("_output/death-hz-ac.html")
#> [1] "_output/death-hz-ac.provenance.json"