added renv::restore() and renv::activate()

This commit is contained in:
Martin Folkerts 2023-10-16 17:34:11 +02:00
parent dda9ad8871
commit 3ce436b6a0
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,5 @@
renv::activate()
renv::restore()
#download excel with planting dates
library(googledrive)
library(here)

View file

@ -1,3 +1,7 @@
# activeer de renv omgeving;
renv::activate()
renv::restore()
library(here)
library(sf)
library(tidyverse)
@ -8,6 +12,7 @@ library(exactextractr)
library(CIprep)
laravel_storage_dir <- here("laravel_app/storage/app")
#preparing directories
planet_tif_folder <- here(laravel_storage_dir, "chemba/merged_tif")

View file

@ -8,6 +8,14 @@ editor_options:
chunk_output_type: console
---
```{r setup, include=FALSE}
# Activeer de renv omgeving
renv::activate()
# Optioneel: Herstel de omgeving als dat nodig is
# Je kunt dit commentaar geven als je het normaal niet wilt uitvoeren
# renv::restore()
```
```{r libraries, message=FALSE, warning=FALSE, include=FALSE}
library(here)