-
Notifications
You must be signed in to change notification settings - Fork 1
/
practica-00-paquetes_instalar.R
47 lines (39 loc) · 1.76 KB
/
practica-00-paquetes_instalar.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
#' zona de notas
#'
# links
# documentación de paquetes a usar en la sesión
# tidyverse https://www.tidyverse.org/
# janitor http://sfirke.github.io/janitor/
# corrr https://tidymodels.github.io/corrr/
# broom https://broom.tidyverse.org/index.html
# haven https://haven.tidyverse.org/index.html
# readxl https://readxl.tidyverse.org/
# writexl https://docs.ropensci.org/writexl/
# skimr https://ropensci.github.io/skimr/
# compareGroups https://cran.r-project.org/web/packages/compareGroups/vignettes/compareGroups_vignette.html
# qvalue https://github.com/StoreyLab/qvalue
# qvalue https://www.bioconductor.org/packages/release/bioc/html/qvalue.html
# instalar paquete si es que está ausente ---------------------------------
# obligatorios
# en repositorio CRAN
if (!require("tidyverse")) {install.packages("tidyverse")}
if (!require("janitor")) {install.packages("janitor")}
if (!require("corrr")) {install.packages("corrr")}
if (!require("broom")) {install.packages("broom")}
if (!require("haven")) {install.packages("haven")}
if (!require("rlang")) {install.packages("rlang")}
if (!require("skimr")) {install.packages("skimr")}
if (!require("knitr")) {install.packages("knitr")}
if (!require("readxl")) {install.packages("readxl")}
if (!require("writexl")) {install.packages("writexl")}
if (!require("kableExtra")) {install.packages("kableExtra")}
if (!require("Hmisc")) {install.packages("Hmisc")}
# en repositorio Bioconductor
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("qvalue")
#puede presentar errores
if (!require("compareGroups")) {install.packages("compareGroups")}
# opcional
if (!require("devtools")) {install.packages("devtools")}
if (!require("qvalue")) {devtools::install_github("avallecam/avallecam")}