Skip to content

How to enable binaries per repository #2

Description

@jeroen

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions