summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-01-16 08:17:26 -0600
committerGitHub <noreply@github.com>2021-01-16 15:17:26 +0100
commit6a9d0b53a6f982dddcf36b41af706fc1c8fa03ca (patch)
tree4175d842fd176e32bdc30008d14bf55c949eca69
parent8108501aca9da82d9c5d77d36cde1e1aea2e6893 (diff)
downloadspack-6a9d0b53a6f982dddcf36b41af706fc1c8fa03ca.tar.gz
spack-6a9d0b53a6f982dddcf36b41af706fc1c8fa03ca.tar.bz2
spack-6a9d0b53a6f982dddcf36b41af706fc1c8fa03ca.tar.xz
spack-6a9d0b53a6f982dddcf36b41af706fc1c8fa03ca.zip
add version 0.4 to r-europepmc (#20947)
-rw-r--r--var/spack/repos/builtin/packages/r-europepmc/package.py23
1 files changed, 19 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/r-europepmc/package.py b/var/spack/repos/builtin/packages/r-europepmc/package.py
index ab50af5e6c..dae036aac9 100644
--- a/var/spack/repos/builtin/packages/r-europepmc/package.py
+++ b/var/spack/repos/builtin/packages/r-europepmc/package.py
@@ -7,21 +7,36 @@ from spack import *
class REuropepmc(RPackage):
- """europepmc: R Interface to the Europe PubMed Central RESTful Web
- Service"""
+ """R Interface to the Europe PubMed Central RESTful Web Service
+
+ An R Client for the Europe PubMed Central RESTful Web Service (see
+ <https://europepmc.org/RestfulWebService> for more information). It gives
+ access to both metadata on life science literature and open access full
+ texts. Europe PMC indexes all PubMed content and other literature sources
+ including Agricola, a bibliographic database of citations to the
+ agricultural literature, or Biological Patents. In addition to
+ bibliographic metadata, the client allows users to fetch citations and
+ reference lists. Links between life-science literature and other EBI
+ databases, including ENA, PDB or ChEMBL are also accessible. No
+ registration or API key is required. See the vignettes for usage
+ examples."""
homepage = "http://github.com/ropensci/europepmc/"
url = "https://cloud.r-project.org/src/contrib/europepmc_0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/europepmc"
+ version('0.4', sha256='d55f62963d0ee84830654bbc78f4ad8285e376b04be137cbeaf8ad2a98b7969c')
version('0.3', sha256='5044a253d223e2bb8502063cd03c0fe4db856467e497d650da7ccd8f75d0f8d9')
depends_on('r@3.00:', type=('build', 'run'))
- depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-httr', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
depends_on('r-plyr', type=('build', 'run'))
+ depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-progress', type=('build', 'run'))
- depends_on('r-purrr', type=('build', 'run'))
depends_on('r-urltools', type=('build', 'run'))
+ depends_on('r-purrr', type=('build', 'run'))
depends_on('r-xml2', type=('build', 'run'))
+ depends_on('r-tibble', when='@0.4:', type=('build', 'run'))
+ depends_on('r-tidyr', when='@0.4:', type=('build', 'run'))
+ depends_on('r-rlang', when='@0.4:', type=('build', 'run'))