Initial commit
This commit is contained in:
commit
3cba772836
1341 changed files with 532924 additions and 0 deletions
BIN
VDS29/.RData
Normal file
BIN
VDS29/.RData
Normal file
Binary file not shown.
1
VDS29/.Rprofile
Normal file
1
VDS29/.Rprofile
Normal file
|
|
@ -0,0 +1 @@
|
|||
source("renv/activate.R")
|
||||
13
VDS29/VDS29.Rproj
Normal file
13
VDS29/VDS29.Rproj
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Version: 1.0
|
||||
|
||||
RestoreWorkspace: Default
|
||||
SaveWorkspace: Default
|
||||
AlwaysSaveHistory: Default
|
||||
|
||||
EnableCodeIndexing: Yes
|
||||
UseSpacesForTab: Yes
|
||||
NumSpacesForTab: 2
|
||||
Encoding: UTF-8
|
||||
|
||||
RnwWeave: Sweave
|
||||
LaTeX: pdfLaTeX
|
||||
1092
VDS29/app.R
Normal file
1092
VDS29/app.R
Normal file
File diff suppressed because it is too large
Load diff
2879
VDS29/renv.lock
Normal file
2879
VDS29/renv.lock
Normal file
File diff suppressed because it is too large
Load diff
21
VDS29/setup_renv.R
Normal file
21
VDS29/setup_renv.R
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Einmalig ausfuehren, bevor die App zum ersten Mal gestartet wird.
|
||||
# Initialisiert renv und installiert alle benoetigten Pakete.
|
||||
#
|
||||
# formr wird hier bewusst NICHT installiert: das gehoert in die Umgebung des
|
||||
# externen Download-Skripts (get_data_vds29.R), nicht in den App-Code oder
|
||||
# dessen renv-Umgebung.
|
||||
# DBI und RSQLite werden vom gesourcten Pseudonym-Skript (get_pseudo.R)
|
||||
# benoetigt, nicht direkt von der App selbst - trotzdem Teil dieser renv-Umgebung,
|
||||
# damit das Sourcen zur Laufzeit funktioniert.
|
||||
|
||||
renv::init()
|
||||
|
||||
pkgs = c("shiny", "dplyr", "ggplot2", "haven", "officer", "DBI", "RSQLite", "formr")
|
||||
install.packages(pkgs)
|
||||
|
||||
# type = "all" statt des Standards ("implicit"): DBI/RSQLite werden im App-Code
|
||||
# nie per library() aufgerufen (siehe oben), daher wuerde der Standard-Scan sie
|
||||
# nicht erkennen und beim Snapshot wieder aus der renv.lock entfernen.
|
||||
renv::snapshot(type = "all")
|
||||
|
||||
message("Setup abgeschlossen. App starten mit: shiny::runApp()")
|
||||
Loading…
Add table
Add a link
Reference in a new issue