-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.R
31 lines (24 loc) · 2.29 KB
/
setup.R
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
# Install latest version of 'pak'
install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))
# Set up repository URLs
pak::repo_add("https://r.docker.stat.auckland.ac.nz")
# pkgs <- read.delim(textConnection("colorspace countrycode DT# GGally ggmap plotly RcppTOML readr readtext readxl RgoogleMaps RJSONIO reshape2 sas7bdat shinyalert shinycssloaders shinydashboard shinyjs shinyWidgets srvyr styler survey viridis XML remotes vctrs pillar magrittr lifecycle crayon tibble rlang fansi cli ps rprojroot fs desc processx proxy wk e1071 units s2 Rcpp DBI classInt stringi generics cpp11 tidyselect stringr purrr dplyr sys openssl jsonlite curl sp png colorspace viridisLite RColorBrewer farver scales isoband gtable minqa Matrix MatrixModels SparseM timechange bit tzdb vroom hms blob zoo lubridate tidyr srvyr readr forcats dbplyr sass tinytex bslib xfun highr evaluate rmarkdown yaml digest rstudioapi htmltools htmlwidgets checkmate knitr matrixStats htmlTable data.table maditr mvtnorm [email protected] httr rex waldo pkgload callr sf jpeg plyr ggplot2 s20x quantreg hexbin expss emmeans dichromat chron covr testthat rgeos lwgeom ggmap countrycode maptools XML settings validate markdown gridtext patchwork ggtext RcppEigen nloptr lme4 labelled sandwich TH.data pbkrtest abind carData broom.helpers multcomp ggrepel car Rttf2pt1 extrafontdb extrafont FNN productplots vipor beeswarm waffle hextri gridSVG ggthemes ggridges ggmosaic ggbeeswarm shinylogs wkb"), sep = " ", header = FALSE, comment.char = "#") |> as.character()
pkgs <- c("markdown", "GGally", "RJSONIO", "shinyjs", "plotly", "shinyWidgets", "DT", "shinycssloaders", "shinyalert", "rjson", "shinylogs", "bit64", "htmltools", "shiny", "sas7bdat", "shinyStorePlus")
pkgs <-
c(
# "[email protected]",
"tmelliott/[email protected]",
"iNZightVIT/[email protected]",
"iNZightVIT/[email protected]",
"iNZightVIT/iNZightTS@legacy",
"iNZightVIT/[email protected]",
"iNZightVIT/[email protected]",
"iNZightVIT/[email protected]",
"cran/maptools",
"cran/rgeos",
"iNZightVIT/[email protected]",
"iNZightMultivariate",
pkgs
)
# pak::pak(pkgs, lib = ".lib")
pak::pak(pkgs, dependencies = TRUE)