From: zimoun <zimon.toutoune@gmail.com>
To: 43345@debbugs.gnu.org
Cc: zimoun <zimon.toutoune@gmail.com>
Subject: [bug#43345] [PATCH 02/12] gnu: r-adaptivesparsity: Move to (gnu packages cran).
Date: Fri, 11 Sep 2020 20:08:39 +0200 [thread overview]
Message-ID: <20200911180849.12582-2-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20200911180849.12582-1-zimon.toutoune@gmail.com>
* gnu/packages/machine-learning.scm (r-adaptivesparsity): Move from here...
* gnu/packages/cran.scm (r-adaptivesparsity): ...to here.
---
gnu/packages/cran.scm | 36 +++++++++++++++++++++++++++++++
gnu/packages/machine-learning.scm | 35 ------------------------------
2 files changed, 36 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index de4273892d..f701b7fde0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23607,3 +23607,39 @@ environments (e.g. development, test, production). It reads values using a
function that determines the current environment and returns the appropriate
value.")
(license license:gpl3)))
+
+(define-public r-adaptivesparsity
+ (package
+ (name "r-adaptivesparsity")
+ (version "1.6")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "AdaptiveSparsity" version))
+ (sha256
+ (base32
+ "0imr5m8mll9j6n4icsv6z9rl5kbnwsp9wvzrg7n90nnmcxq2cz91"))))
+ (properties
+ `((upstream-name . "AdaptiveSparsity")))
+ (build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'link-against-armadillo
+ (lambda _
+ (substitute* "src/Makevars"
+ (("PKG_LIBS=" prefix)
+ (string-append prefix "-larmadillo"))))))))
+ (propagated-inputs
+ `(("r-mass" ,r-mass)
+ ("r-matrix" ,r-matrix)
+ ("r-rcpp" ,r-rcpp)
+ ("r-rcpparmadillo" ,r-rcpparmadillo)))
+ (inputs
+ `(("armadillo" ,armadillo)))
+ (home-page "https://cran.r-project.org/web/packages/AdaptiveSparsity")
+ (synopsis "Adaptive sparsity models")
+ (description
+ "This package implements the Figueiredo machine learning algorithm for
+adaptive sparsity and the Wong algorithm for adaptively sparse gaussian
+geometric models.")
+ (license license:lgpl3+)))
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 05646dd770..0301b4964a 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -660,41 +660,6 @@ synchronization, thread-safety, concurrent data structures, and non-blocking
I/O.")
(license license:asl2.0)))
-(define-public r-adaptivesparsity
- (package
- (name "r-adaptivesparsity")
- (version "1.6")
- (source (origin
- (method url-fetch)
- (uri (cran-uri "AdaptiveSparsity" version))
- (sha256
- (base32
- "0imr5m8mll9j6n4icsv6z9rl5kbnwsp9wvzrg7n90nnmcxq2cz91"))))
- (properties
- `((upstream-name . "AdaptiveSparsity")))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'link-against-armadillo
- (lambda _
- (substitute* "src/Makevars"
- (("PKG_LIBS=" prefix)
- (string-append prefix "-larmadillo"))))))))
- (propagated-inputs
- `(("r-mass" ,r-mass)
- ("r-matrix" ,r-matrix)
- ("r-rcpp" ,r-rcpp)
- ("r-rcpparmadillo" ,r-rcpparmadillo)))
- (inputs
- `(("armadillo" ,armadillo)))
- (home-page "https://cran.r-project.org/web/packages/AdaptiveSparsity")
- (synopsis "Adaptive sparsity models")
- (description
- "This package implements the Figueiredo machine learning algorithm for
-adaptive sparsity and the Wong algorithm for adaptively sparse gaussian
-geometric models.")
- (license license:lgpl3+)))
(define-public gemmlowp-for-tensorflow
;; The commit hash is taken from "tensorflow/workspace.bzl".
--
2.28.0
next prev parent reply other threads:[~2020-09-11 18:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 18:05 [bug#43345] [PATCH 00/12] Move some CRAN packages to (gnu packages cran) zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 01/12] gnu: r-codedepends: Comment why is in bioconductor.scm zimoun
2020-09-11 18:08 ` zimoun [this message]
2020-09-11 18:08 ` [bug#43345] [PATCH 03/12] gnu: r-diffusionmap: Move to (gnu packages cran) zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 04/12] gnu: r-igraph: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 05/12] gnu: r-qtl: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 06/12] gnu: r-qtl2: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 07/12] gnu: r-seqminer: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 08/12] gnu: r-maldiquant: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 09/12] gnu: r-seurat: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 11/12] gnu: r-diversitree: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 12/12] gnu: r-absfiltergsea: " zimoun
2020-09-11 18:08 ` [bug#43345] [PATCH 10/12] gnu: r-phangorn: " zimoun
2020-09-11 20:07 ` bug#43345: [PATCH 00/12] Move some CRAN packages " Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200911180849.12582-2-zimon.toutoune@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=43345@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).