Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
|
@@ -1,7 +1,11 @@
|
|
| 1 |
-
if (!requireNamespace("lapop", quietly = TRUE)) {
|
| 2 |
-
message("lapop missing at app start; attempting install (this will print logs).")
|
| 3 |
-
install.packages("remotes", repos='https://cloud.r-project.org')
|
| 4 |
-
remotes::install_github('lapop-central/lapop', dependencies=TRUE, force=TRUE, build_vignettes=FALSE, upgrade='never')
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
| 6 |
|
| 7 |
library(lapop)
|
|
|
|
| 1 |
+
#if (!requireNamespace("lapop", quietly = TRUE)) {
|
| 2 |
+
# message("lapop missing at app start; attempting install (this will print logs).")
|
| 3 |
+
# install.packages("remotes", repos='https://cloud.r-project.org')
|
| 4 |
+
# remotes::install_github('lapop-central/lapop', dependencies=TRUE, force=TRUE, build_vignettes=FALSE, upgrade='never')
|
| 5 |
+
#}
|
| 6 |
+
|
| 7 |
+
if (!requireNamespace("shinyWidgets", quietly = TRUE)) {
|
| 8 |
+
install.packages("shinyWidgets", repos='https://cloud.r-project.org')
|
| 9 |
}
|
| 10 |
|
| 11 |
library(lapop)
|