ropensci / wikitaxa

taxonomy data from Wikipedia/Wikidata/Wikispecies

Home Page:https://docs.ropensci.org/wikitaxa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warnings to fix

sckott opened this issue · comments

<r> x=wt_data("pine tree")
Warning messages:
1: In if (grepl("^P(?!r)", id, perl = TRUE)) { :
  the condition has length > 1 and only the first element will be used
2: This option accepts 1 values; you have provided 2. Only the first 1 will be returned. 
3: In if (grepl("^P(?!r)", id, perl = TRUE)) { :
  the condition has length > 1 and only the first element will be used
4: This option accepts 1 values; you have provided 2. Only the first 1 will be returned. 
5: In if (grepl("^P(?!r)", id, perl = TRUE)) { :
  the condition has length > 1 and only the first element will be used
6: This option accepts 1 values; you have provided 5. Only the first 1 will be returned. 
7: In if (grepl("^P(?!r)", id, perl = TRUE)) { :
  the condition has length > 1 and only the first element will be used
8: This option accepts 1 values; you have provided 80. Only the first 1 will be returned.