add reprex snippets
This commit is contained in:
parent
32441e0420
commit
e393b19577
2 changed files with 10 additions and 0 deletions
5
docker/reprex/alpine.sh
Normal file
5
docker/reprex/alpine.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
docker run --rm -it --platform linux/arm64 alpine sh
|
||||
|
||||
apk add --no-cache R R-dev g++
|
||||
install.packages('<pkg>', repos = "cloud.r-project.org")
|
||||
|
||||
5
docker/reprex/ubuntu-24.sh
Normal file
5
docker/reprex/ubuntu-24.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
docker run --rm -it --platform linux/arm64 ubuntu:noble bash
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt update && apt install -y r-base-core
|
||||
R -q -e 'install.packages("<pkg>"
|
||||
Loading…
Reference in a new issue