Skip to content

Suspect behavior while using name_backbone() with arg strict = TRUE#814

Description

@damianooldoni

Hi 馃憢

I was doing some "strict" name matching, but I got some higherrank matches, which should be not allowed by definition, or at least by documentation, see https://docs.ropensci.org/rgbif/reference/name_backbone.html#arg-strict

strict (logical) If TRUE it (fuzzy) matches only the given name, but never a taxon in the upper classification (optional)

Example:

library(rgbif)
#> Warning: package 'rgbif' was built under R version 4.5.2
strict_true <- rgbif::name_backbone(name = "Achelia sawayai s.l. Marcus, 1940", strict = TRUE)
stritc_false <- rgbif::name_backbone(name = "Achelia sawayai s.l. Marcus, 1940", strict = FALSE)
strict_true$matchType
#> [1] "HIGHERRANK"
stritc_false$matchType
#> [1] "HIGHERRANK"

Created on 2025-11-04 with reprex v2.1.1

I remember I was using strict = TRUE explicitly to avoid higher rank matches. Did something change meanwhile? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions