summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ieugwasr/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-ieugwasr/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-ieugwasr/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-ieugwasr/package.py b/var/spack/repos/builtin/packages/r-ieugwasr/package.py
new file mode 100644
index 0000000000..bce36046bb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-ieugwasr/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class RIeugwasr(RPackage):
+ """R Interface to the OpenGWAS Database API.
+
+ R interface to the OpenGWAS database API. Includes a wrapper
+ to make generic calls to the API, plus convenience functions for
+ specific queries."""
+
+ homepage = "https://github.com/MRCIEU/ieugwasr"
+ url = "https://github.com/MRCIEU/ieugwasr/archive/refs/tags/0.1.5.tar.gz"
+
+ version("0.1.5", sha256="8d900d5a780f23836c80191f9635fbf48a0ca94f828452948c0f445e3217f422")
+
+ depends_on("r@3.6.0:", type=("build", "run"))
+ depends_on("r-magrittr", type=("build", "run"))
+ depends_on("r-googleauthr", type=("build", "run"))
+ depends_on("r-dplyr", type=("build", "run"))
+ depends_on("r-httr", type=("build", "run"))
+ depends_on("r-jsonlite", type=("build", "run"))