ropensci / taxize

A taxonomic toolbelt for R
https://docs.ropensci.org/taxize
Other
270 stars 61 forks source link

Error in names - db='tropicos' #865

Closed cRonFer closed 3 years ago

cRonFer commented 3 years ago

I am trying to get some species ids from tropicos and the following error appears. The same call works fine for db= 'pow' and others so it seems that something happens with tropicos db.

error taxize-tropicos

sessionInfo():

image

sckott commented 3 years ago

Thanks for the report and including session info! Please in the future copy/paste the text from R instead of taking screen shots.

Please run that example again, but then after it errors run traceback(), then share the output of that here.

cRonFer commented 3 years ago

Thanks! Here you have the traceback() call after the error:

traceback() 7: getkey(key, "TROPICOS_KEY") 6: tp_search(sci = sci[i], key = key, ...) 5: get_tpsid(sci_com, ...) 4: foo(x, sci_com = sci_com, ...) 3: FUN(X[[i]], ...) 2: lapply(db, function(x) foo(x, sci_com = sci_com, ...)) 1: get_ids("Aldina paulberryi", db = "tropicos", rows = NA)

sckott commented 3 years ago

Should be fixed now. Please try again after reinstalling like remotes::install_github("ropensci/taxize")