7  Binaries

7.1 Does R-universe have Linux binaries?

Yes, R-universe provides Linux binaries, but currently only for a single target: r-release on ubuntu:latest. This is the platform used by the R-universe build system, as configured in the base-image. These binaries are used when installing package dependencies.

To use these binaries on Linux, add the corresponding repository to your repos. There’s no need to set a custom user agent. For example, for the jeroen universe:

options(repos = c(
  linux = 'https://jeroen.r-universe.dev/bin/linux/noble/4.4/',
  sources = 'https://jeroen.r-universe.dev',
  cran = 'https://cloud.r-project.org'
))

See how this is done automatically in the base image when an environment variable MY_UNIVERSE is set.

7.2 Binaries for packages with compiled code

In information on packages provided by the API, the arch field to the binaries field only if there is compiled code in the package. Packages without compiled code are identical on all architectures.

On MacOS we only build a separate intel and arm64 version for packages with compiled code, otherwise the same binary is used for both.

7.3 How to use WebAssembly Binaries

We have experimental support for webassembly binaries! You should use the official r-wasm repository for dependencies. For example to install the dev version of dplyr:

install.packages('dplyr',
  repos = c('https://tidyverse.r-universe.dev', 'https://repo.r-wasm.org'))