Sources an R file in a clean environment.
Opens up a fresh R environment and sources file, ensuring that it works independently of the current working environment.
clean_source(path, quiet = FALSE)
- path to R script
FALSE, the default, all input and output will be displayed, as if you'd copied and paste the code. If
TRUEonly the final result and the any explicitly printed output will be displayed.
Looks like there are no examples yet.