Binary r-cornball-janssonr packages for
janssonr, strict JSON
encode/decode for R via the system
Jansson C library. The
binary needs only the libjansson4 runtime, never a compiler or
libjansson-dev.
Set Suites to your release codename, noble for 24.04:
sudo tee /etc/apt/sources.list.d/janssonr.sources > /dev/null <<'EOF'
Types: deb
URIs: https://cornball-ai.github.io/janssonr
Suites: noble
Components: main
Trusted: yes
Enabled: yes
EOF
sudo apt update
sudo apt install r-cornball-janssonr
The older one-line form works too:
deb [trusted=yes] https://cornball-ai.github.io/janssonr noble main
Trusted: yes is
required. Without it apt refuses the repository outright.
noble and amd64 only. Packages are
built per release inside that release's container, so name the suite that
matches your system. Further suites and architectures on request.
r-base-core newer than stock noble carries; it comes from
r2u or the CRAN apt
repository.
The compiled R package, into /usr/lib/R/site-library/janssonr,
linked against the distribution's libjansson4. It provides
from_json() and to_json(): an R-safe profile of
RFC 8259 with duplicate-key rejection at any depth, NUL and
invalid-UTF-8 rejection, exact double round-trip, and classed error
conditions with source coordinates. Sources install from the
cornball drat instead.