freshr

R CMD CHECK codecov

The goal of freshr is to help you refresh your working environment in Rstudio and create reproducible scripts.

Installation

You can install the development version of freshr like so:

remotes::install_github('shawnlinxl/freshr')

Example

freshr is always called once at the top of your script. Call it at the top of your main.R script if it is a project with multiple scripts. Source your script and see after the environment is refreshed whether your script contains all the imports and variables needed for it to execute.

Example:

freshr::freshr()

library(ggplot2)
ggplot(mtcars) + geom_point(aes(x = mpg, y = hp))