-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdatascience-notebook.R
More file actions
executable file
·107 lines (100 loc) · 2.22 KB
/
Copy pathdatascience-notebook.R
File metadata and controls
executable file
·107 lines (100 loc) · 2.22 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#!/usr/bin/env Rscript
# R packages for the datascience-notebook image.
#
# GENERATED by scripts/rpak.R from rpixi.toml — do not edit by hand.
# Regenerate with: Rscript scripts/rpak.R pakgen
#
# Self-contained on purpose: the only thing this needs is pak, so the image
# does not have to ship a TOML parser or any conda r-* package.
options(warn = 2) # a failed install must fail the build, not warn
if (!requireNamespace("pak", quietly = TRUE)) {
# Prefer the prebuilt binary; fall back to CRAN source.
ok <- tryCatch({
install.packages("pak", repos = sprintf(
"https://r-lib.github.io/p/pak/stable/%s/%s/%s",
.Platform$pkgType, R.Version()$os, R.Version()$arch))
requireNamespace("pak", quietly = TRUE)
}, error = function(e) FALSE)
if (!ok) install.packages("pak", repos = "https://cloud.r-project.org")
}
options(
pkg.sysreqs = TRUE,
pkg.sysreqs_platform = "ubuntu-24.04"
)
message("Installing 69 R packages for datascience-notebook ...")
pak::pkg_install(
c(
"IRkernel",
"rlang",
"coursekata/Lock5withR",
"coursekata/coursekata-r?reinstall",
"fivethirtyeight",
"coursekata/fivethirtyeightdata",
"ggpubr",
"gridExtra",
"lme4",
"plotly",
"statmod",
"coursekata/testwhat@v4.11.3.2",
"ajrgodfrey/BrailleR",
"DHARMa",
"Stat2Data",
"bayesplot",
"car",
"dagitty",
"easystats",
"emmeans",
"ggdag",
"ggeffects",
"gt",
"here",
"janitor",
"lmerTest",
"loo",
"marginaleffects",
"neuralnet",
"posterior",
"psych",
"reticulate",
"sjPlot",
"tidymodels",
"tidyverse",
"brms",
"distributions3",
"nimble",
"rstanarm",
"simDAG",
"BH",
"BiocManager",
"DataExplorer",
"R4HCR",
"RcppArmadillo",
"RcppEigen",
"RcppProgress",
"Rtsne",
"broom.mixed",
"conformalbayes",
"cpp11",
"datasauRus",
"dqrng",
"extraDistr",
"flextable",
"gitcreds",
"latex2exp",
"mlpwr",
"mlr3verse",
"modelsummary",
"probably",
"progress",
"renv",
"sessioninfo",
"sitmo",
"skimr",
"transport",
"truncnorm",
"uwot"
),
upgrade = FALSE,
ask = FALSE
)
message("R package installation complete.")