Features

Bug fixes

  • Add input validation for NA and negative values in sampling functions (#9, #39).
  • In sample_int_expj(), move retrieval of top element into the loop, to make it independent from the actual implementation of the priority queue.
  • Use microbenchmark package conditionally.
  • Remove dependency on cluster.
  • Use native method registration.
  • Prepare for submission to R Journal.
  • Improve vignette.
  • Internal tweaks.
  • Finally submitted version of the paper.

First CRAN release.

  • Alternative implementations for weighted random sampling, as implemented by R’s sample.int(replace = FALSE, prob = ...)
  • Article for submission to JStatSoft as vignette.