- Have you ever written a long script in R that conducts oodles of analyses and wished that someone would come along and make it all clearer to understand and use?
- Well you’re not alone.
- A recent survey of over 1500 scientists reported a crisis of reproducibility with "selective reporting" being the most cited contributing factor and 80% saying code availability is playing a role
- We created cleanR to help scientists more easily write "cleaner" code
- cleanR provides a simple way get the code you need to produce a specific result
- cleanR uses data provenance tp capture what your code actually does when it’s running and then allows you to pull out the essential code that produces specific outputs.
- Checkout a demo of how to use the package!

- By focusing in on the specific results you want, cleanR let’s you spend more energy on your science and less time figuring out your code.
Install the latest version easily with devtools:
library(devtools)
install_github("ProvTools/cleanR")
install_github("ProvTools/provR")
install.packages("igraph”)