Initial commit
This commit is contained in:
commit
3cba772836
1341 changed files with 532924 additions and 0 deletions
13
MAAS/setup_renv.R
Normal file
13
MAAS/setup_renv.R
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Einmalig auf dem Zielrechner ausfuehren, bevor die App zum ersten Mal startet.
|
||||
# Initialisiert renv fuer diese App und installiert alle benoetigten Pakete.
|
||||
|
||||
renv::init()
|
||||
|
||||
pakete = c("shiny", "dplyr", "ggplot2", "haven", "officer", "DBI", "RSQLite", "formr")
|
||||
install.packages(pakete)
|
||||
# type = "all" statt des impliziten Standard-Scans: DBI und RSQLite werden im
|
||||
# App-Code nie per library() aufgerufen (nur das gesourcte ../get_pseudo.R braucht
|
||||
# sie), daher wuerde der Standard-Scan sie nicht in renv.lock aufnehmen.
|
||||
renv::snapshot(type = "all")
|
||||
|
||||
message("Setup abgeschlossen. App starten mit: shiny::runApp()")
|
||||
Loading…
Add table
Add a link
Reference in a new issue