Skip to content

Commit

Permalink
Merge pull request #3 from snacktavish/master
Browse files Browse the repository at this point in the history
Don't remove non-matched
  • Loading branch information
LunaSare authored Apr 26, 2024
2 parents 7088c13 + 7351722 commit cfd31af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/datelife_query.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ make_datelife_query <- function(input = c("Rhea americana", "Pterocnemia pennata
if (use_tnrs_global) {
# process names even if it's a "higher" taxon name:
cleaned_names_tnrs <- clean_tnrs(tnrs_match(input = cleaned_names),
remove_nonmatches = TRUE)
remove_nonmatches = FALSE)
# recover original names of invalid taxa and unmatched:
cleaned_names <- gsub("_", " ", cleaned_names)
ii <- !tolower(cleaned_names) %in% cleaned_names_tnrs$search_string
Expand Down

0 comments on commit cfd31af

Please sign in to comment.