The official provDebugR repo has been moved.
A debugging tool that leverages provenance to provide handy information about R scripts to assist in writing them.
Devtools is needed for installation:
install.packages("devtools")
Installation of all required packages (can be copied and pasted):
devtools::install_github("ProvTools/provParseR")
devtools::install_github("jwons/provGraphR")
devtools::install_github("End-to-end-provenance/RDataTracker", ref = "development")
devtools::install_github("jwons/provDebugR")
also uses: httr jsonlite * methods
and if your environment is RStudio: rstudioapi shiny * miniUI
Once installed, load the package:
library("provDebugR")
While writing a script, run the script by calling:
debug.init("yourScriptNameHere.R")
If you already have provenance stored as prov.json, you can also use that file as an argument.
debug.init("prov.json")
Once either debug.prov or debug.init is run the rest of the functions can be used. To find out more about what each function does, refer to the Wiki!
debug.init(input.data)
debug.variable.type(..., just.logical = F)
debug.from.type(variable, type)
debug.from.line(..., state = F)
debug.lineage(..., forward = F)
debug.error.trace(stack.overflow = F)
debug.warning.trace(..., stack.overflow = F)
debug.browser()
debug.gadget()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.