stringdist 0.9.4.2 was accepted on CRAN at the end of last week.
This release just fixes a few bugs affecting the
stringdistmatrix function, when called with a single argument.
From the NEWS file:
- bugfix in stringdistmatrix(a): value of p, for jw-distance was ignored (thanks to Max Fritsche)
- bugfix in stringdistmatrix(a): Would segfault on q-gram w/input > ~7k strings and q>1 (thanks to Connor McKay)
- bugfix in jaccard distance: distance not always correct when passing multiple strings (thanks to Robert Carlson)
Actually the last bug has not bitten anyone since it was masked by the second one (it was reported and fixed a long time ago but popped up again after fixing the second bug — hat tip to Hadley for testthat!). The second fix also ensures that stringdist’s memory allocator for q-gram storage is called fewer times which yields a speed gain in computation of q-gram based distances.