Skip to content

Commit e40fd51

Browse files
committed
updated for the workshop and apptainer def
1 parent dddb619 commit e40fd51

File tree

7 files changed

+2722
-1854
lines changed

7 files changed

+2722
-1854
lines changed

.Rprofile

Lines changed: 0 additions & 1 deletion
This file was deleted.

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Depends: webshot2, plotly, ggplot2, ellipsis
1+
Depends: webshot2, plotly, ggplot2, ellipsis, readr

apptainer.def

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Bootstrap: docker
2+
From: rocker/r-ver
3+
4+
%post
5+
# install dependencies
6+
apt update
7+
apt install -y curl gnupg perl libcurl4-openssl-dev libicu-dev libssl-dev libx11-dev pandoc
8+
curl -Ls https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
9+
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
10+
apt-get update
11+
apt-get install -y google-chrome-stable
12+
13+
Rscript -e "install.packages('renv', repos = 'https://cloud.r-project.org/')"
14+
cd /mnt
15+
Rscript -e "renv::restore()"
16+
cd
17+
18+
# install quarto
19+
curl -Ls https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-linux-amd64.deb -o quarto.deb && \
20+
dpkg -i quarto.deb&& \
21+
rm quarto.deb
22+
23+
# install TinyTeX
24+
quarto install tinytex
25+
/root/.TinyTeX/bin/x86_64-linux/tlmgr install libertinus libertinus-fonts libertinus-otf orcidlink
26+
27+
%environment
28+
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
29+
export XDG_CACHE_HOME=/tmp/quarto_cache_home
30+
export XDG_DATA_HOME=/tmp/quarto_data_home
31+
# add /root/.TinyTex/bin to PATH in the /etc/profile
32+
export PATH=/root/.TinyTeX/bin/x86_64-linux:$PATH

renv.lock

Lines changed: 2689 additions & 606 deletions
Large diffs are not rendered by default.

renv/.gitignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)