Title: | Uses Provenance to Trace File Lineage for One or more R Scripts |
---|---|
Description: | Uses provenance collected by 'rdtLite' package or comparable tool to display information about input files, output files, and exchanged files for a single R script or a series of R scripts. |
Authors: | Emery Boose [cre], Barbara Lerner [aut], President and Fellows of Harvard College [cph], Trustees of Mount Holyoke College [cph] |
Maintainer: | Emery Boose <[email protected]> |
License: | GPL-3 |
Version: | 1.0 |
Built: | 2024-10-27 04:04:57 UTC |
Source: | https://github.com/end-to-end-provenance/provtracer |
prov.trace traces file lineage from existing provenance.
prov.trace.run runs the specified script(s), collects provenance, and uses the provenance to trace file lineage.
prov.trace( scripts, prov.dir = NULL, file.details = FALSE, console = TRUE, save = FALSE, save.dir = NULL, check = TRUE ) prov.trace.run( scripts, prov.dir = NULL, file.details = FALSE, console = TRUE, save = FALSE, save.dir = NULL, check = TRUE, prov.tool = "rdtLite", details = FALSE, ... )
prov.trace( scripts, prov.dir = NULL, file.details = FALSE, console = TRUE, save = FALSE, save.dir = NULL, check = TRUE ) prov.trace.run( scripts, prov.dir = NULL, file.details = FALSE, console = TRUE, save = FALSE, save.dir = NULL, check = TRUE, prov.tool = "rdtLite", details = FALSE, ... )
scripts |
a script name, a vector of script names, or a text file of script names (file extension = .txt) |
prov.dir |
provenance directory |
file.details |
whether to display file details |
console |
whether to display results in the console |
save |
whether to save results to the file prov-trace.txt |
save.dir |
where to save the results file. If NULL, use the R session temporary directory. If a period (.), use the current working directory. Otherwise use save.dir. |
check |
whether to check against the user's file system |
prov.tool |
provenance collection tool (rdtLite or rdt) |
details |
whether to collect fine-grained provenance |
... |
other parameters passed to the provenance collector |
string containing file lineage
string containing file lineage
prov.dir <- system.file("testdata", package="provTraceR") prov.trace(c("script-1.R", "script-2.R"), prov.dir=prov.dir)
prov.dir <- system.file("testdata", package="provTraceR") prov.trace(c("script-1.R", "script-2.R"), prov.dir=prov.dir)