summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-gensa/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-gensa/package.py b/var/spack/repos/builtin/packages/r-gensa/package.py
new file mode 100644
index 0000000000..ccbeb95c80
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-gensa/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2018 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 import *
+
+
+class RGensa(RPackage):
+ """GenSA: Generalized Simulated Annealing
+
+ Performs search for global minimum of a very complex non-linear
+ objective function with a very large number of optima."""
+
+ homepage = "https://cran.r-project.org/package=GenSA"
+ url = "https://cran.r-project.org/src/contrib/GenSA_1.1.7.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/GenSA/"
+
+ version('1.1.7', sha256='9d99d3d0a4b7770c3c3a6de44206811272d78ab94481713a8c369f7d6ae7b80f')
+
+ depends_on('r@2.12.0:', type=('build', 'run'))