lint/scripts/install-lintr.sh

17 lines
274 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -euo pipefail
apk add --no-cache --virtual .r-build-deps \
g++ \
gcc \
libxml2-dev \
linux-headers \
make \
R-dev \
R-doc
Rscript --no-save /install-r-package-or-fail.R lintr purrr remotes
apk del --no-network --purge .r-build-deps