-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.R
71 lines (57 loc) · 1.38 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
library(conflicted)
library(targets)
library(tarchetypes)
library(tidyverse)
library(magrittr)
library(lubridate)
library(here)
library(kableExtra)
library("scales")
library("rmarkdown")
library("sf")
sf_use_s2(use_s2 = FALSE)
library("rnaturalearth")
library("rnaturalearthdata")
library(terra)
library(cowplot)
library(viridis)
#clean dataset
library(janitor)
# Turnover
library(codyn)
library(vegan)
# date
library(slider)
library(rmarkdown)
# parallel
library(future)
# Statistics
library(INLA)
library(inlatools)
library(glmmTMB)
library(easystats)
library(ggeffects)
# cluster
library(tclust)
conflict_prefer("filter", "dplyr")
conflict_prefer("select", "dplyr")
# For brms
#conflict_prefer("chisq.test", "stats")
#conflict_prefer("fisher.test", "stats")
conflict_prefer("col_factor", "scales")
conflict_prefer("ar", "brms")
conflict_prefer("col_factor", "scales")
conflict_prefer("discard", "scales")
conflict_prefer("extract", "tidyr")
conflict_prefer("group_rows", "dplyr")
conflict_prefer("lag", "dplyr")
#conflict_prefer("inset", "magrittr")
#conflict_prefer("rescale", "scales")
#conflict_prefer("run", "future")
#conflict_prefer("simplify", "purrr")
#conflict_prefer("src", "dplyr")
#conflict_prefer("stamp", "lubridate")
# For xaringan builder
#https://github.com/jhelvy/xaringanBuilder
Sys.setenv(PAGEDOWN_CHROME = "/usr/bin/chromium")
Sys.setenv(CHROMOTE_CHROME = "/usr/bin/chromium")