Support custom R tarball URL for testing prerelease builds
This commit is contained in:
parent
ae1220091a
commit
2c9979447c
1 changed files with 4 additions and 1 deletions
|
|
@ -40,7 +40,10 @@ archive_r() {
|
||||||
|
|
||||||
fetch_r_source() {
|
fetch_r_source() {
|
||||||
echo "Downloading R-${1}"
|
echo "Downloading R-${1}"
|
||||||
if [ "${1}" = devel ]; then
|
if [ -n "${R_TARBALL_URL}" ]; then
|
||||||
|
# Custom tarball URL for testing (e.g., R alpha and beta releases)
|
||||||
|
wget -q "${R_TARBALL_URL}" -O /tmp/R-${1}.tar.gz
|
||||||
|
elif [ "${1}" = devel ]; then
|
||||||
# Download the daily tarball of R devel
|
# Download the daily tarball of R devel
|
||||||
wget -q https://stat.ethz.ch/R/daily/R-devel.tar.gz -O /tmp/R-devel.tar.gz
|
wget -q https://stat.ethz.ch/R/daily/R-devel.tar.gz -O /tmp/R-devel.tar.gz
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue