knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
{scihubr}
is an unofficial API to sci-hub.se, making it easy to download the papers you need within R
. The package also offers you a citation.
The package is only available from GitHub with:
if (!require("remotes") install.packages("remotes") remotes::install_github("netique/scihubr")
If you just want ot read a paper as quick as possible, type:
scihubr::download_paper("url_or_doi_of_your_favourite_paper")
Or, state the path and optional open = FALSE
meaning you do not want to open the result immediately.
scihubr::download_paper("url_or_doi_of_your_favourite_paper", path = "~/my_favourite_paper.pdf", open = FALSE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.