Skip to content

Commit 6c7eeb7

Browse files
committed
install r-base with fix missing
1 parent 952bac4 commit 6c7eeb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

template/template.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def make_template(
5959
'echo "deb https://cloud.r-project.org/bin/linux/debian trixie-cran40/" | sudo tee /etc/apt/sources.list.d/cran.list',
6060
]
6161
)
62-
.apt_install("r-base=${R_VERSION} r-base-dev")
62+
.run_cmd(
63+
"DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes apt-get install -y --fix-missing r-base=${R_VERSION} r-base-dev"
64+
)
6365
.run_cmd(
6466
[
6567
"R -e \"install.packages('IRkernel', repos='https://cloud.r-project.org')\"",

0 commit comments

Comments
 (0)