new package: r-gensa (starting at 1.1.7) (#9858)

This commit is contained in:
Justin Stanley 2018-11-16 15:13:48 -06:00 committed by Peter Scheibel
parent dc2911208f
commit 9dff444570

View File

@ -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'))