-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackages.R
53 lines (50 loc) · 1.8 KB
/
packages.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
if (!require(pacman)){
install.packages("pacman")
}
pacman::p_load(char = c("tidyverse",
"here",
"grid",
"ggh4x",
"stringi",
"scales",
"mgcv",
"furrr",
"tictoc",
"conflicted",
"magrittr",
"epitools",
"rlang",
"cowplot",
"ggnewscale",
"formula.tools",
"measurements",
"fitdistrplus",
"magick",
"pdftools",
"truncdist",
"rriskDistributions",
"ggridges",
"readODS",
"patchwork",
"htmlTable",
"directlabels",
"scales",
"ggrepel",
"EnvStats",
"DescTools",
"fst",
"rlang",
"countrycode",
"readr","brms","broom","modelr",
"dtplyr",
"furrr",
"data.table",
"geometry",
"MESS",
"grDevices"))
conflicted::conflict_prefer("set_names", "purrr")
conflicted::conflict_prefer("melt", "reshape2")
conflicted::conflict_prefer("predict", "stats")
conflict_prefer(":=", "data.table")
map(.x = c("mutate", "select", "filter"),
.f = function(x){conflicted::conflict_prefer(name = x, "dplyr")})