Skip to content

Releases: leeper/UNF

Maintenance Release

02 Aug 15:21
Compare
Choose a tag to compare

This is a maintenance release with the following changes meant to make the package more useful and accurate. The most important change is the addition of a "unfvector" class and a new function, as.unfvector(), that coerces all base R data classes to "unfvector" (#15). By exposing this functionality, the package can be used to coerce any data vector to a standardized representation for identical()-type comparisons, including in cases where a UNF signature is not desired or appropriate.

Other changes are described below.

New features and improvements

  • Exported new function unf_equal() to better comply with R CMD check.
  • Added a unfmatch element to the return value of %unf%.
  • Allow %unf% to be used to compare against a character string containing a UNF signature (#16, h/t Dominik Vogel)

Behind the scenes changes

  • Converted package to use roxygen documentation.
  • Expanded test suite to cover raw, AsIs, and time-series vectors. (#17)
  • Expanded test suite to cover %unf%. (#17)
  • Expanded test suite to cover as.unfvector(). (#2)
  • Converted unf() to an S3 generic, with matrix, list, and data.frame methods.
  • Improved implementation of raw vector handling.
  • Added base package imports to NAMESPACE. (#14)

Initial release for CRAN

21 Mar 13:38
Compare
Choose a tag to compare
v2.0

version 2.0