Development and Vendoring
Source:vignettes/source-installation-and-vendoring.Rmd
source-installation-and-vendoring.RmdRsassy builds a small Rust crate during package installation. That
crate depends on sassy for approximate matching and
needletail for chunked FASTA/FASTQ iteration.
sassy = { version = "0.2.1", default-features = false }
needletail = { version = "0.6.3", default-features = false, features = ["flate2"] }Only needletail’s gzip path is enabled by default; bzip2, xz, and zstd support are intentionally not enabled unless the package chooses to expand compression support later.
Vendoring
Rust sources are installed from the vendored bundle. Refresh it after Rust dependency changes:
This updates:
src/rust/vendor.tar.xz
inst/AUTHORS
inst/LICENCE.note
Package installation then runs Cargo in offline mode.
Development commands
make rd # regenerate NAMESPACE and man/*.Rd
make readme # regenerate README.md
make install # local install
make test # tinytest
make check # R CMD build + R CMD check
make reports # render committed benchmark/conformance markdown reports
make clean # remove build artifactsmake check uses two Cargo jobs by default. For local
builds: