aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/app.R9
1 files changed, 6 insertions, 3 deletions
diff --git a/R/app.R b/R/app.R
index 01f35b4..23e32ab 100644
--- a/R/app.R
+++ b/R/app.R
@@ -6,15 +6,18 @@
app <- function() {
missing_pkgs <- c()
# Check for any missing, required packages.
- if (!requireNamespace("shiny", quietly = TRUE)) {
- missing_pkgs <- c(missing_pkgs, "shiny")
- }
if (!requireNamespace("bslib", quietly = TRUE)) {
missing_pkgs <- c(missing_pkgs, "bslib")
}
+ if (!requireNamespace("shiny", quietly = TRUE)) {
+ missing_pkgs <- c(missing_pkgs, "shiny")
+ }
if (!requireNamespace("DT", quietly = TRUE)) {
missing_pkgs <- c(missing_pkgs, "DT")
}
+ if (!requireNamespace("plotly", quietly = TRUE)) {
+ missing_pkgs <- c(missing_pkgs, "plotly")
+ }
# If any of the required packages are missing,
# prompt the user to install them.