Why am I getting a 401 error with specieshindex that involves an API?

29 views Asked by At

I'm having issues with the R package specieshindex https://github.com/jesstytam/specieshindex

I followed the instructions to create an API for Scopus and everything seemed to work okay. But when I try the package functions I get a 401 error:

> Count(db = "scopus",
+       search = "t",
+       genus = "Bettongia", species = "penicillata")
Species found on CoL, ITIS, NCBI, or EoL.
Error in Count_f(search = search, genus, species, synonyms, additionalkeywords) : 
  Unauthorized (HTTP 401).

If you're trying this, one issue I had during the package installation was around the dependency rbace which I had to install from the archive. https://cran.r-project.org/src/contrib/Archive/rbace/

0

There are 0 answers