New comment by Chocimier on void-packages repository https://github.com/void-linux/void-packages/pull/38438#issuecomment-1203243037 Comment: Nice! `XBPS_DISTFILES_MIRROR+=" https://cran.r-project.org/src/contrib/Archive/${pkgname#R-cran-}"` in `common/environment/build-style/R-cran.sh` works as well and doesn't special case R in global hook.