clean: clean - Produces more transparent code. OUTPUT = The...

Description Usage Arguments Value Author(s) See Also Examples

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

1
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.

Author(s)

Matthew K. Lau

See Also

write.code

Examples

1
2
3
data(prov_json)
options(prov.json = prov_json)
clean() # Pick from the list of possible results

Rclean documentation built on May 2, 2019, 9:18 a.m.