The goal of freshr is to help you refresh your working environment in Rstudio and create reproducible scripts.
To install the official CRAN version, run:
install.packages("freshr"")You can install the development version of freshr like so:
remotes::install_github("shawnlinxl/freshr"")freshr is meant to be 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))
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.