clean: clean --- Produces more transparent code.
OUTPUT = The essential code needed to produce a result.
Description
Produces simplifed, "cleaned" code that is needed to create a result.
Make sure that your working directory is set to the location of your script
and that you have loaded data provenance for that script into R's option system, and
Rclean takes care of the rest.
Usage
clean(result = "Name of desired result", tidy = TRUE)
Arguments
result
A desired output present in the script.
tidy
LOGICAL: should the cleaned script be formatted using syntax best practices?
Value
Cleaned code as a vector of strings ordered by line number.