- Python (>= 3.11)
- Poetry (>= 1.8.3)
configure poetry to create virtual environments in the project directory
poetry config virtualenvs.in-project true
install dependencies
poetry install
add dependencies
poetry add <package>
- R (>= 4.4.1)
- Renv(>= 1.0.7)
install renv if not already installed
install.packages("renv", repos = "https://cran.csie.ntu.edu.tw/")
install dependencies from the lockfile
renv::restore()
update the lockfile
renv::snapshot()
Warning
default renv setting does not snapshot all dependencies, you may need to set snapshot.type = "all"
as follows:
renv::settings$snapshot.type("all")