updated r_app/.gitignore to reflect install strategy.

removed renv and .Rprofile from project so every instance should run its own enviroment based on installPackages.R.
This commit is contained in:
Martin Folkerts 2023-10-31 14:12:12 +01:00
parent c9bf3f0041
commit 0b7294340c
6 changed files with 17 additions and 1208 deletions

View file

@ -1 +0,0 @@
source("renv/activate.R")

3
r_app/.gitignore vendored
View file

@ -2,6 +2,7 @@
# Ignore renv binary cache
renv/cache/
renv
# Ignore temporary files
*.tmp
@ -12,7 +13,7 @@ renv/cache/
.Rproj.user/
.Rhistory
.RData
.Rprofile
# Ignore OSX files
.DS_Store

15
r_app/installPackages.R Normal file
View file

@ -0,0 +1,15 @@
install.packages('CAST')
install.packages('CIprep')
install.packages('caret')
install.packages('exactextractr')
install.packages('googledrive')
install.packages('here')
install.packages('lubridate')
install.packages('raster')
install.packages('readxl')
install.packages('rsample')
install.packages('sf')
install.packages('terra')
install.packages('tidyverse')
install.packages('tmap')
install.packages('zoo')

View file

@ -1,7 +0,0 @@
library/
local/
cellar/
lock/
python/
sandbox/
staging/

File diff suppressed because it is too large Load diff

View file

@ -1,19 +0,0 @@
{
"bioconductor.version": null,
"external.libraries": [],
"ignored.packages": [],
"package.dependency.fields": [
"Imports",
"Depends",
"LinkingTo"
],
"ppm.enabled": null,
"ppm.ignored.urls": [],
"r.version": null,
"snapshot.type": "implicit",
"use.cache": true,
"vcs.ignore.cellar": true,
"vcs.ignore.library": true,
"vcs.ignore.local": true,
"vcs.manage.ignores": true
}