-
Notifications
You must be signed in to change notification settings - Fork 1
/
global.R.bak
94 lines (83 loc) · 1.91 KB
/
global.R.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Global
#
# Add package from UI and Server
#
# 2022-08-17
#~~~~~~~~~~~~~~~~~~~~~~~~
# Packages ----
# ## UI----
library(shiny)
library(shinyWidgets)
library(shinyjs) # fails without it
library(shinyalert)
library(shinythemes)
library(shinydashboard)
library(dplyr)
library(ggplot2)
library(ggthemes)
library(DT)
library(plotly)
library(xts)
#library(shinycustomloader)
library(shinycssloaders)
library("shinyjqui")
#
# ## Server----
library("readxl") # to read excel files
library("writexl")
library("data.table")
#library("DT")
library("tidyverse") # fails without dplyr, stringr
library("tibbletime")
#library("shiny")
#library("shinydashboard")
#library("shinyjs")
library("shinyBS")
library("shinyvalidate")
#library("shinythemes")
#library("shinyalert")
library("conflicted") # fails without it
library("dataRetrieval")
library("doBy")
library("knitr")
library("htmltools")
library("rmarkdown")
library("highr")
library("survival")
library("shinyFiles")
#library("plotly")
library("zip")
library("reshape2")
library("ContDataQC")
library("ContDataSumViz")
library("StreamThermal")
library("IHA")
library("XLConnect")
library("daymetr")
library("lubridate")
library("promises")
library("future")
library("tinytex")
library("purrr")
#library("ggtext")
library("qpcR")
library("readr")
library("padr")
#library("ggh4x")
plan(multisession)
#options(scipen=999)
# fails without dplyr and stringr from tidyverse
# Functions ----
source("_moved/import_raw_data.R")
source("update_ContDataQC/config.R")
source("update_ContDataQC/CompSiteCDF.updated.R")
source("update_ContDataQC/SumStats.updated.R")
source("update_ContDataQC/ReportMetaData.R")
source("update_ContDataQC/build_summary_updated.R")
source("update_ContDataQC/fun.ConvertDateFormat.R")
source("constants.R")
list.files("modules", recursive = TRUE) %>%
purrr::map(~ source(paste0("modules/", .)))
# Other ----
options(shiny.maxRequestSize = 100*1024^2)