r-tclust: Create new package (#6380)
This commit is contained in:
parent
1d69dbe7ae
commit
9040f34aba
45
var/spack/repos/builtin/packages/r-tclust/package.py
Normal file
45
var/spack/repos/builtin/packages/r-tclust/package.py
Normal file
@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/spack/spack
|
||||
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
##############################################################################
|
||||
from spack import *
|
||||
|
||||
|
||||
class RTclust(RPackage):
|
||||
"""Provides functions for robust trimmed clustering."""
|
||||
|
||||
homepage = "https://cran.r-project.org/web/packages/tclust/index.html"
|
||||
url = "https://cran.r-project.org/src/contrib/tclust_1.3-1.tar.gz"
|
||||
list_url = "https://cran.rstudio.com/src/contrib/Archive/tclust"
|
||||
|
||||
version('1.3-1', '5415d74682588d4a6fb8ce166fc75661')
|
||||
version('1.2-7', 'e32cd02819682cc944c7baaac3b6f2b7')
|
||||
version('1.2-3', '922abc1abd8da4c6ac9830e1f2f71e84')
|
||||
version('1.1-03', 'f1cc9278bdb068acce4623a9d98b7b62')
|
||||
version('1.1-02', '6f206501b0341fb5623208d145984f5a')
|
||||
|
||||
depends_on('r@3.4.0:3.4.9')
|
||||
depends_on('r-cluster', type=('build', 'run'))
|
||||
depends_on('r-mclust', type=('build', 'run'))
|
||||
depends_on('r-mvtnorm', type=('build', 'run'))
|
||||
depends_on('r-sn', type=('build', 'run'))
|
Loading…
Reference in New Issue
Block a user