guix_mirror_bot pushed a commit to branch r-team
in repository guix.
commit 28b74b583ae62754e44631a26fc933a9df2e617e
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Feb 16 18:53:45 2026 +0100
gnu: r-tmvnsim: Move to (gnu packages cran).
* gnu/packages/statistics.scm (r-tmvnsim): Move from here...
* gnu/packages/cran.scm (r-tmvnsim): ...to here.
Change-Id: I57b54ad1ff2db25e3dcfa5711110fb79baa59e81
---
gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
gnu/packages/statistics.scm | 29 -----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5f069cf140..7d284d87f5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13113,6 +13113,35 @@ cross-platform graphical user interface toolkit}
widget.")
;; Any version of the GPL.
(license (list license:gpl2+ license:gpl3+))))
+(define-public r-tmvnsim
+ (package
+ (name "r-tmvnsim")
+ (version "1.0-2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "tmvnsim" version))
+ (sha256
+ (base32
+ "03xsvsg9bqvgl98ywid3h91mmlhax5s6wvmypp3hq91vmc5kvxlp"))))
+ (properties `((upstream-name . "tmvnsim")))
+ (build-system r-build-system)
+ (native-inputs (list gfortran))
+ (home-page "https://www.r-project.org")
+ (synopsis "Truncated multivariate normal simulation")
+ (description
+ "This package implements importance sampling from the truncated
+multivariate normal using the @dfn{Geweke-Hajivassiliou-Keane} (GHK)
+simulator. Unlike Gibbs sampling which can get stuck in one truncation
+sub-region depending on initial values, this package allows truncation based
+on disjoint regions that are created by truncation of absolute values. The
+GHK algorithm uses simple Cholesky transformation followed by recursive
+simulation of univariate truncated normals hence there are also no convergence
+issues. Importance sample is returned along with sampling weights, based on
+which, one can calculate integrals over truncated regions for multivariate
+normals.")
+ (license license:gpl2)))
+
(define-public r-tmvtnorm
(package
(name "r-tmvtnorm")
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 73de5e5ca2..7cee53a0fb 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1681,35 +1681,6 @@ of the points.")
;; Any GPL version
(license (list license:gpl2+ license:gpl3+))))
-(define-public r-tmvnsim
- (package
- (name "r-tmvnsim")
- (version "1.0-2")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "tmvnsim" version))
- (sha256
- (base32
- "03xsvsg9bqvgl98ywid3h91mmlhax5s6wvmypp3hq91vmc5kvxlp"))))
- (properties `((upstream-name . "tmvnsim")))
- (build-system r-build-system)
- (native-inputs (list gfortran))
- (home-page "https://www.r-project.org")
- (synopsis "Truncated multivariate normal simulation")
- (description
- "This package implements importance sampling from the truncated
-multivariate normal using the @dfn{Geweke-Hajivassiliou-Keane} (GHK)
-simulator. Unlike Gibbs sampling which can get stuck in one truncation
-sub-region depending on initial values, this package allows truncation based
-on disjoint regions that are created by truncation of absolute values. The
-GHK algorithm uses simple Cholesky transformation followed by recursive
-simulation of univariate truncated normals hence there are also no convergence
-issues. Importance sample is returned along with sampling weights, based on
-which, one can calculate integrals over truncated regions for multivariate
-normals.")
- (license license:gpl2)))
-
(define-public r-tsne
(package
(name "r-tsne")