-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.R
63 lines (60 loc) · 1.57 KB
/
install.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
# This bookdown in its version 2022 needs the following R packages
# R 4.1.3
# Use the following to list all dependencies:
#imports <- unique(c("bookdown", "learnitdown", "SciViews",
# attachment::att_from_rmds(".")))
#attachment::att_to_desc_from_is(path.d = "DESCRIPTION",
# imports = imports, suggests = NULL)
# From CRAN
install.packages(c("knitr", "bookdown", # The bases!
"gdtools", "svglite", # SVG graphs
"htmltools", "vembedr", # To embed videos easily
"devtools", # To install packages from Github
"automap",
"boot",
#"cartography", # Now it is mapsf
"circular",
"dplyr",
"ggsn",
"gstat",
"ipred",
"lubridate",
"naniar",
"mapedit",
"maps",
"mapsf",
"mapview",
"pROC",
"purrr",
"randomForest",
"raster",
"remotes",
"rlang",
"ROCR",
"rpart",
"rpart.plot",
"sessioninfo",
"skimr",
"stars",
"stringr",
"tibble",
"tidyr",
"tmap",
"TSA"
))
# sf is a very large package (85 Mb) and it requires more time than the default
# 60sec to download on many networks
options(timeout = 600)
install.packages("sf")
# From Github (latest devel version)
remotes::install_github("phgrosjean/aurelhy")
remotes::install_github("phgrosjean/pastecs")
remotes::install_github("SciViews/svMisc")
remotes::install_github("SciViews/svBase")
remotes::install_github("SciViews/svFlow")
remotes::install_github("SciViews/data.io")
remotes::install_github("SciViews/chart")
remotes::install_github("SciViews/exploreit")
remotes::install_github("SciViews/SciViews")
remotes::install_github("SciViews/learnitdown")
remotes::install_github("rstudio/bookdown")