Skip to content

Commit

Permalink
another edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
wcornwell committed Jul 31, 2024
1 parent 6e8a768 commit 724b6c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/align_taxa.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ align_taxa <- function(original_name,
APNI_matches = TRUE,
identifier = NA_character_) {

if(is.null(resources)){
message("Not finding taxonomic resources; check internet connection?")
return(NULL)
}

if(!quiet)
message("Checking alignments of ",
dplyr::n_distinct(original_name, na.rm = TRUE),
Expand Down

0 comments on commit 724b6c9

Please sign in to comment.