ropensci / traits

R package for accessing species trait data from multiple databases
Other
40 stars 13 forks source link

no EOL Cypher key found for traitbank #131

Closed dlebauer closed 4 months ago

dlebauer commented 5 months ago

While working on 0.5.1 release (#130), I run check:

devtools::check(remote = TRUE, manual = TRUE)

And I run into a broken test, for which this is a minimized reproducible example:

devtools::load_all()
traitbank(query = "MATCH (n:Trait) RETURN n LIMIT 1;")
# Error in traitbank(query = "MATCH (n:Trait) RETURN n LIMIT 1;") : 
#  no EOL Cypher key found; see help file

It is not readily apparent how to fix this, but it looks like the relevant documentation is here: https://github.com/EOL/publishing/blob/master/doc/api-access.md

dlebauer commented 4 months ago

fixed. I just needed to read the help to get the API KEY