Setup port-forwarding to access the postgres database:
kubectl -n wooglife port-forward $(kubectl -n wooglife get pods -l app=backend-postgres --no-headers | cut -f1 -d' ' | head -n 1) 5432:5432
- Install dependencies from DESCRIPTION via renv:
install.packages('renv')
restart session
library(renv)
renv::install()
R -f main.R