RuHere 1.1.2 (In development)
- Fix additional_predicates in
request_gbif()to allow combinations ofpred_and()andpred_or(). - RuHere now depends on rgbif (>= 3.9.0) due to changes in taxon keys, which were switched from the GBIF Backbone to the COL (Catalogue of Life) Extended Release.
- In
standardize_countries()andstandardize_states(), sanitize non-alphabetic strings (e.g., “?”) to NA before fuzzy matching to prevent row expansion on merge. - New function
fix_species_names(): replaces misspelled, outdated, or unstandardized species names in an occurrence dataset using a user-supplied reference dictionary. - Handle NA coordinates, fix positional args, and optimize c
heck_countries()andcheck_states(). - In
flag_duplicates(),replace terra::extract()withterra::cellFromXY(), deduplicate via!duplicated(..., by = to_group)on a lightweight subset, preserve original row order and input class, and avoid grouping NA coordinates/cells as duplicates. - In
check_countries()&check_states(): Usedata.tableradix grouping and two-stage buffering (applyingterra::buffer()only when points fall outside the raw polygon), filter out NA coordinates before spatialization, and useDT[, ("col") := ...]withsetcolorder()to avoid column reallocation errors. - In
flag_fossil(),flag_cultivated(), &flag_inaturalist(), perform case-insensitive regex matching on unique column values only to speed up performance. - In
remove_invalid_coordinates()&flag_year(): Standardize input argument checks, suppress numeric coercion warnings, and ensure consistent return types whenreturn_invalid = TRUE. - Handle missing distribution data as
NAand usefill = TRUEinflag_faunabr()andflag_florabr()(Issue #23) - Resolve origin/column bugs and optimize spatial checks in
flag_bien(),flag_iucn(), andflag_wcvp(). - In
standardize_countries()andstandardize_states(), resolve ambiguous fuzzy matches via coordinates and handle all-NA coordinate columns to prevent row expansion. - Prevent duplicate field name errors in
map_here().
RuHere 1.1.1 (October 2026)
CRAN release: 2026-10-20
- Add datasets from GABI and from Vascular epiphytes of the South America Dry Diagonal to
get_datapaper()andcite_datapaper(). - In
faunabr_here()andflorabr_here(), add theget_fixed_versionargument to allow users to download fixed versions of faunabr and florabr, withTRUEas the default. - In
map_here(), add themap.typesargument to allow users to select which background map layers to display, with “OpenStreetMap” as the default layer. - RuHere now depends on faunabr (>= 1.1.2) and florabr(>= 1.4.0.).
- Update datasets to be compatible with florabr 1.4.0.
- Fix bug in
flag_consensus()when using “bien” as one of the flags. - Fix bug in
map_here()when the column flags have NA. - Fix bug when using additional/user flags in
summarize_flags(). - Add new function:
request_gbif_specieslist(). - Fig bug in
remove_flagged()when occ is a data.table. - In
ggmap_here(), add option to remove records with coordinates outside the Earth.
RuHere 1.1.0 (August 2026)
CRAN release: 2026-08-27
- Fix bug in
remove_flagged()when flag is not “all”. - Add new functions:
inventory_completeness(),count_flags(),get_datapaper(), andcite_datapaper(). - Add new dataset
atlantic_amphibiansto run example ofinventory_completeness() -
request_gbif()now checks for GBIF credentials and returns a clear error pointing toset_gbif_credentials()if missing, instead of an uninformative error from rgbif. - Clarify in the documentation that TRUE/FALSE semantics are consistent across all flagging functions:
TRUEmeans the record passed the test and is eligible for retention. - Standardize terminology to “specialists’ range information” across function documentation.
- Clarify in
bien_here()that BIEN range polygons are derived from ecological niche models, unlike the taxonomist-curated data from IUCN, WCVP, florabr, and faunabr. - Add authentication notes and updated examples to
request_gbif(),get_specieslink(), andiucn_here(). - Fix incorrect documentation of the
verboseargument inflag_wcvp(). - RuHere now depends on faunabr (>= 1.1.1).
- Update vignette for obtaining data: add GBIF citation guidelines and instructions for using
get_datapaper(). - Add GBIF references in
occurrences,occ_gbif, andocc_flagged. - Fix bug in
flag_bien()whenoccis adata.tableobject. - In
bind_here(), add argumentignore.attrto allow binding columns with different attributes (e.g. class). - In
format_columns(), force columneventDateto be a character. - Add new function
request_gbif_specieslist().
