zukomp: Portable Byte Compression with a Pluggable Codec Registry

Compresses and decompresses raw vectors through a single codec-neutral interface backed by a runtime registry, so the set of available codecs is discovered rather than fixed at compile time. The DEFLATE family (gzip, zlib and headerless DEFLATE), Zstandard and LZ4 (frame and block formats) are built in from bundled 'miniz', 'zstd' and 'lz4' sources, requiring no system compression library. Decompression enforces configurable output-size and expansion-ratio limits and reports failures through structured conditions. A registered C-callable interface lets other packages drive the codecs from C and register codecs of their own. The formats are specified in Deutsch (1996) <doi:10.17487/RFC1951>, Deutsch and Gailly (1996) <doi:10.17487/RFC1950>, Deutsch (1996) <doi:10.17487/RFC1952>, and Collet and Kucherawy (2021) <doi:10.17487/RFC8878>.

Version: 0.2.0
Depends: R (≥ 4.0)
Imports: utils
Suggests: testthat (≥ 3.2.0), withr
Published: 2026-11-24
DOI: 10.32614/CRAN.package.zukomp
Author: Pedro Baltazar [aut, cre, cph], Rich Geldreich [ctb, cph] (author of the bundled miniz library), Tenacious Software LLC [cph] (copyright holder of the bundled miniz library), RAD Game Tools [cph] (copyright holder of the bundled miniz library), Valve Software [cph] (copyright holder of the bundled miniz library), Martin Raiber [ctb, cph] (contributor to and copyright holder of the bundled miniz library), Alex Evans [ctb] (author of the PNG writer in the bundled miniz library), Alistair Moffat [ctb] (co-author of the code-length algorithm in the bundled miniz library), Jyrki Katajainen [ctb] (co-author of the code-length algorithm in the bundled miniz library), Yann Collet [ctb, cph] (author of the bundled LZ4 library and of the bundled Zstandard library's xxHash), Meta Platforms, Inc. and affiliates [cph] (copyright holder of the bundled Zstandard library), Tino Reichardt [ctb, cph] (threading code in the bundled Zstandard library)
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/zukomp/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://github.com/pedrobtz/zukomp, https://pedrobtz.github.io/zukomp/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: zukomp results

Documentation:

Reference manual: zukomp.html , zukomp.pdf

Downloads:

Package source: zukomp_0.2.0.tar.gz
Windows binaries: r-devel: zukomp_0.1.0.zip, r-release: zukomp_0.1.0.zip, r-oldrel: zukomp_0.2.0.zip
macOS binaries: r-release (arm64): zukomp_0.2.0.tgz, r-oldrel (arm64): zukomp_0.2.0.tgz, r-release (x86_64): zukomp_0.2.0.tgz, r-oldrel (x86_64): zukomp_0.2.0.tgz
Old sources: zukomp archive

Reverse dependencies:

Reverse suggests: zumime

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zukomp to link to this page.