Bug fixes

  • Fix ts_match_names(..., collapse_infra = TRUE)’s internal deduplication key, which used paste0(..., sep = "_")paste0() has no sep argument, so the separator was silently dropped, joining name components with no delimiter between them. This could in rare cases cause two genuinely different names to be treated as duplicates during deduplication if their concatenated components happened to coincide. Found via static analysis while running pkgcheck::pkgcheck() ahead of rOpenSci submission.

Minor improvements

  • Use vapply() instead of sapply(), anyDuplicated() instead of any(duplicated(x)), and drop several redundant x == TRUE/x == FALSE comparisons
  • Fix a dead link in the README (“The Plant List”, no longer online; now links to a Wayback Machine snapshot)

Major changes

  • Implement pure R solution for name parsing and matching
  • Add manual_match argument to ts_match_names(), so users can supply a dataframe of manually matched names that override the matching algorithm (#4)

Major changes

  • Add Docker support for running taxon-tools, so it no longer needs to be installed locally
  • Add collapse_infra and collapse_infra_exclude arguments to ts_match_names() and ts_resolve_names(), for collapsing infraspecific taxa to their species when matching
  • Add quiet argument to ts_parse_names() to suppress warnings

Bug fixes

  • Fix mapping of match results after collapsing infraspecific taxa
  • Fix matched_status incorrectly showing as NA for some results
  • Replace empty strings with NA in results

Major changes