Skip to content

Commit

Permalink
remove fulltext dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
fmichonneau committed Dec 7, 2021
1 parent 13b568a commit efedc6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Imports:
rentrez,
rncl (>= 0.6.0)
Suggests:
fulltext (>= 0.1.6),
knitr (>= 1.12),
MCMCglmm,
phylobase,
Expand Down
11 changes: 2 additions & 9 deletions vignettes/meta-analysis.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,15 @@ history among some of the studied-species.

If we are going to reproduce this analysis, we will first need to gather the
data. Thankfully, the data is available as supplementary material from the
publisher's website. We can collect the data from using `fulltext` (with the
papers DOI as input) and read it into memory with `readxl::read_excel`:
publisher's website. We provide a copy of this data with the package:

```{r load-package}
library(rotl)
```


```{r egg_data}
## This should work, but Wiley has currently broken the URLs to access the
## SI.
## if (require(readxl) && require(fulltext)) {
## doi <- "10.1111/jeb.12282"
## xl_file <- try(ft_get_si(doi, 1, save.name="egg.xls"), silent = TRUE)
## egg_data <- read_excel(xl_file)
## } else {
## This dataset is available from the publisher's study website:
egg_data <- read.csv(system.file("extdata", "egg.csv", package = "rotl"),
stringsAsFactors = FALSE
)
Expand Down

0 comments on commit efedc6c

Please sign in to comment.