diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2022-10-10 20:25:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 19:25:55 -0600 |
commit | cecec254b0215500e0e10e213b4952ee6d9c9a5a (patch) | |
tree | 0ae4c9f2089d2dd9a0cdc50db92f66b86934cd00 | |
parent | c7472c849fb1c223e065598b1556411a6782da26 (diff) | |
download | spack-cecec254b0215500e0e10e213b4952ee6d9c9a5a.tar.gz spack-cecec254b0215500e0e10e213b4952ee6d9c9a5a.tar.bz2 spack-cecec254b0215500e0e10e213b4952ee6d9c9a5a.tar.xz spack-cecec254b0215500e0e10e213b4952ee6d9c9a5a.zip |
new package: r-optimparallel (#33169)
-rw-r--r-- | var/spack/repos/builtin/packages/r-optimparallel/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-optimparallel/package.py b/var/spack/repos/builtin/packages/r-optimparallel/package.py new file mode 100644 index 0000000000..f931b28e93 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-optimparallel/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2022 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 ROptimparallel(RPackage): + """Parallel Version of the L-BFGS-B Optimization Method. + + Provides a parallel version of the L-BFGS-B method of optim(). The main + function of the package is optimParallel(), which has the same usage and + output as optim(). Using optimParallel() can significantly reduce the + optimization time.""" + + cran = "optimParallel" + + version("1.0-2", sha256="0f9bc62c23d9005130f2892bf5eaecf308fa48a727bdd5e19b7dcd1d95f30a9d") + + depends_on("r@3.5:", type=("build", "run")) |