Usually not all repositories support (some type of) binaries. For example we may use R_PLATFORM_PKGTYPE=linux.binary.resolute-x86_64 and have a repo like: https://ropensci.r-universe.dev/bin/linux/resolute-x86_64/contrib/4.6/PACKAGES
But then if we do:
options(repos = c(ropensci = "https://ropensci.r-universe.dev", CRAN = "https://cran.r-project.org"))
install.packages("magick")
We get a warning every time that CRAN does not support the binary pkgtype. Can we set a flag on which repos have binaries?
The etc/repositories file in R has columns that specify source, win.binary, mac.binary. Does this work at all? Is it expected that mac.binary also flips on/off the bin repo for custom binaries?
@s-u Is there a way we can set this mac.binary flag when setting options('repos') from R code?
Usually not all repositories support (some type of) binaries. For example we may use
R_PLATFORM_PKGTYPE=linux.binary.resolute-x86_64and have a repo like: https://ropensci.r-universe.dev/bin/linux/resolute-x86_64/contrib/4.6/PACKAGESBut then if we do:
We get a warning every time that CRAN does not support the binary pkgtype. Can we set a flag on which repos have binaries?
The
etc/repositoriesfile in R has columns that specifysource,win.binary,mac.binary. Does this work at all? Is it expected thatmac.binaryalso flips on/off the bin repo for custom binaries?@s-u Is there a way we can set this
mac.binaryflag when settingoptions('repos')from R code?