Skip to contents

natcpp 0.3.1

  • fix package loading on CRAN’s Debian clang r-devel check by conditionally linking libatomic when the C++ atomic compare/exchange runtime helper is required.
  • add src/Makevars.win, since configure is not run on Windows, and a cleanup script to remove the src/Makevars generated by configure. The generated src/Makevars is no longer shipped in the package sources.

Full Changelog: https://github.com/natverse/natcpp/compare/v0.3.0…v0.3.1

natcpp 0.3.0

CRAN release: 2026-07-08

  • add weighted Jaccard similarity functions for sparse data
    • c_weighted_jaccard_sparse() returns a sparse similarity (or distance) matrix
    • c_weighted_jaccard_dense() returns a dense matrix or a dist-layout vector
    • both run in parallel via RcppThread, with an optional progress bar (RcppProgress)
    • triangle= switches between symmetric upper-triangle output and a full matrix
    • distance= returns 1 - similarity
  • portable src/Makevars using $(SHLIB_OPENMP_CXXFLAGS) in place of a GNU make $(shell ...) callout to RcppThread::LdFlags()

Full Changelog: https://github.com/natverse/natcpp/compare/v0.2…v0.3.0

natcpp 0.2

CRAN release: 2025-10-14

Full Changelog: https://github.com/natverse/natcpp/compare/v0.1.1…v0.2

natcpp 0.1.1

natcpp 0.1.0

CRAN release: 2021-07-13

  • First version of the package with basic functions for manipulating segment lists and calculating cable lengths.