HSLdevcom / mal-effect-calculations

Impact assessment scripts for the Helsinki region MAL planning process
https://www.hsl.fi/hsl/mal
European Union Public License 1.2
1 stars 0 forks source link

Initialize as an R project #1

Closed johpiip closed 3 years ago

johpiip commented 3 years ago

In this PR, this repository will be initialized as an R project. Writing scripts with other programming languages, e.g. Python, is still fine - this PR only helps R to run smoothly.

renv is a package that controls package dependencies in R in a similar manner to pipenv in Python. Moreover, the MRAN mirror takes care that all packages and their dependencies come from a same point in time to avoid dependency collisions.

johpiip commented 3 years ago

Added https://github.com/HSLdevcom/mal-effect-calculations/pull/1/commits/807bec88ad6ff4032c6061b71e8e2c5a1dfea084 where I updated instructions on running the scripts with renv. No more commits to this branch!