summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-gensa/package.py
blob: ccbeb95c80a87cdcc5fe8413a635e89796573603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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'))