Templated R Project skeleton with useful structure and packages
-
Install
Rvia homebrew or CRAN. -
Just start
Rin the project directory andrenvwill begin setup! (Go grab a ☕ as this will take a while…) -
Install
tidyverseand other dev dependencies withrenv::install().
Package dependencies can sometimes conflict with local r caches.
Typically following the suggested fixes via renv or homebrew will
resolve the conflicts.
Pandoc may be required to generate the README as well as use .Rmd files. If you are using RStudio you can ‘Knit’ or run the following via the cmdline. If you are not using RStudio you may have to install pandoc globally.
To update this file run:
rmarkdown::render('README.Rmd', 'md_document')
cd ~/
R
then
install.packages("renv")
This template is mainly comprised with the following tools and aggregate
packages.
renv
Tidyverse