Easy cowsay is a project specially designed to show the wonders of reproducibility through the {renv}
R package.
- Open your favorite IDE (e.g., RStudio) or terminal
- Clone this repository
- Open the project folder
- Run
renv::restore()
on the R console to install the R dependencies - Run the script
hello_world.R
- That's it! 🥳
Notice how you did not have to install any R package manually, {renv}
took care of everything!
renv/
: Contains{renv}
files.Rprofile
: Used to activate renv for new R sessions launched in the projectREADME
: This very file you are readinghello_world.R
: The central script of this project. Prints a cute message when excecutedrenv.lock
: The lockfile, describing the state of your project’s library at some point in time
{renv}
documentation: https://rstudio.github.io/renv/index.html{cowsay}
documentation: https://sckott.github.io/cowsay/