rapt apt repository

Binary packages for rapt, which bridges R's install.packages() to apt so packages install as r2u binaries instead of compiling. A Python-free alternative to bspm.

Enable the repository

Set Suites to your release codename, noble for 24.04:

sudo tee /etc/apt/sources.list.d/rapt.sources > /dev/null <<'EOF'
Types: deb
URIs: https://cornball-ai.github.io/rapt
Suites: noble
Components: main
Trusted: yes
Enabled: yes
EOF

sudo apt update
sudo apt install rapt

The older one-line form works too:

deb [trusted=yes] https://cornball-ai.github.io/rapt noble main

Before you do

What gets installed

The package ships the raptd daemon, its systemd socket and service units, the R package, and a drop-in at /etc/R/profile.d/rapt.R that enables rapt for every R session. In a container you are already root, so the daemon is unnecessary and rapt calls apt directly.