rstudio-project
Template RStudio project with preinstalled libs managed by renv.
Introduction
This repo contains starter RStudio projects for fixed versions of R. Browse through the branches and releases to find one that suits your linux flavor and your version of R.
Please star this repo if you find it useful.
Contribute
We welcome pull requests for new linux flavors and R versions.
Note: to create a new build we recommend starting with a clean instance based off of rstudio-instance. Your instance's R installation must have renv already installed via install.packages("renv")
.
To create a build:
- use this template on github
- then run:
./branch_and_build.sh
- submit an issue requesting a new fork for your branch, please include the name of your branch
- once the new branch is approved, submit a pull request to merge the branch of your fork to the newly-created branch in rstudio-project
Requests
Please submit requests for flavor/R-version builds through an issue.
Structure
dev-project-empty
contains an empty R projectdev-package-install
contains the files used to install a set of R packagesbranch_and_build.sh
will create a branch name based on your system. It then branches off ofdev-project-empty
and merges indev-package-install
before building all libraries for your system. After building, the files in the baserstudio-project
folder can be used as a template RStudio project viacp -r rstudio-project new_r_project
.