ropensci / rotl

Interface to Open Tree of Life API
https://docs.ropensci.org/rotl
Other
39 stars 18 forks source link

fix meta-analysis vignette #61

Closed fmichonneau closed 8 years ago

fmichonneau commented 8 years ago

For some reason the DOI lookup included in the meta-analysis vignette fails on win-builder:

library(readxl)
library(rotl)
library(fulltext)

doi <- "10.1111/jeb.12282"
egg_data <- read_excel( ft_get_si(doi, 1, save.name="egg.xls") )
egg_data

output:

 > egg_data <- read_excel( ft_get_si(doi, 1, save.name="egg.xls") )
  Error in get_si_pub(doi) : 
    Cannot find publisher for DOI: 10.1111/jeb.12282
  Calls: read_excel ... check_file -> file.exists -> ft_get_si -> get_si_pub

reported issue with full text ropensci/fulltext#79

fmichonneau commented 8 years ago

switch to using gdata instead of readxl at least for now.

bug reported for readxl at hadley/readxl#159