generated from ecohealthalliance/container-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackages.R
46 lines (41 loc) · 1.25 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
######################## LOAD R PACKAGES #######################################
################################################################################
#
#' R packages needed to run any/most {targets} workflows
#
################################################################################
library(targets)
library(tarchetypes)
library(tidyverse)
library(here)
library(knitr)
library(rmarkdown)
library(future)
################################################################################
#
#' Additional R packages needed to run your specific workflow
#'
#' * Delete or hash out lines of code for R packages not needed in your workflow
#' * Insert code here to load additional R packages that your workflow requires
#
################################################################################
library(dplyr)
library(tidyr)
library(magrittr)
library(MASS)
library(ggplot2)
library(GGally)
library(mclust)
library(factoextra)
library(rstan)
#library(cmdstanr)
library(effects)
library(pomp)
library(moments)
library(dplR)
library(jointseg)
## Needed for internal calls in stan | targets
conflicted::conflicts_prefer(rstan::extract)
conflicted::conflicts_prefer(stats::lag)
conflicted::conflicts_prefer(purrr::map)
conflicted::conflicts_prefer(future::run)