Skip to content

is_present() only genus #6

@juliagdealedo

Description

@juliagdealedo

Hi Paco, thanks for this amazing tool. I have just realized the function is_present() search by genus and no by species present in the afliber database, even if you specify by species. Perhaps it would be useful to be able to search if present by both? regards!
`

is_present(genus = "Vicia", species = "villosa")
Vicia villosa
TRUE
map_distribution(genus = "Vicia", species = "villosa", size = 0.9)
Error in [[<-.data.frame(*tmp*, i, value = NA) :
replacement has 1 row, data has 0
In addition: Warning messages:
1: In get_distribution(genus = genus, species = species, subspecies = subspecies, :
No records returned. Please check the taxonomic names provided
2: In min(cc[[1]], na.rm = TRUE) :
no non-missing arguments to min; returning Inf
3: In min(cc[[2]], na.rm = TRUE) :
no non-missing arguments to min; returning Inf
4: In max(cc[[1]], na.rm = TRUE) :
no non-missing arguments to max; returning -Inf
5: In max(cc[[2]], na.rm = TRUE) :
no non-missing arguments to max; returning -Inf
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions