unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65428] [PATCH 1/3] gnu: Add r-maptree.
@ 2023-08-21 13:44 Navid Afkhami
  2023-08-21 13:44 ` [bug#65430] [PATCH 2/3] gnu: Add r-earlywarnings Navid Afkhami
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Navid Afkhami @ 2023-08-21 13:44 UTC (permalink / raw)
  To: 65428; +Cc: Navid Afkhami

* gnu/packages/statistics.scm (r-maptree): New variable.
---
 gnu/packages/statistics.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 5abc62d760..41243ca7a7 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -433,6 +433,28 @@ (define r-with-tests
 available, greatly increasing its breadth and scope.")
     (license license:gpl3+)))
 
+(define-public r-maptree
+  (package
+    (name "r-maptree")
+    (version "1.4-8")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "maptree" version))
+              (sha256
+               (base32
+                "1x35nk4fi2b62krcvcv187n5sbqrgvw4pbm7r19ps3jlanpi5ksm"))))
+    (properties `((upstream-name . "maptree")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-cluster r-rpart))
+    (home-page "https://cran.r-project.org/package=maptree")
+    (synopsis "Mapping, pruning, and graphing tree models")
+    (description
+     "Set of functions with example data for graphing, pruning, and mapping models.
+These moldes are from hierarchical clustering, and classification and
+regression trees.")
+    ;; Custom license, see https://cran.r-project.org/web/packages/maptree/index.html
+    (license (license:non-copyleft "file://DESCRIPTION"))))
+
 (define-public r-minimal
   (package (inherit r-with-tests)
     (name "r-minimal")

base-commit: 3c6b6941a2c76c26ebf0c1bfd7f901a22c19dce1
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#65430] [PATCH 2/3] gnu: Add r-earlywarnings.
  2023-08-21 13:44 [bug#65428] [PATCH 1/3] gnu: Add r-maptree Navid Afkhami
@ 2023-08-21 13:44 ` Navid Afkhami
  2023-08-28  8:01   ` bug#65430: " Ricardo Wurmus
  2023-08-21 13:44 ` [bug#65429] [PATCH 3/3] gnu: Add r-tgp Navid Afkhami
  2023-08-28  7:55 ` bug#65428: [PATCH 1/3] gnu: Add r-maptree Ricardo Wurmus
  2 siblings, 1 reply; 6+ messages in thread
From: Navid Afkhami @ 2023-08-21 13:44 UTC (permalink / raw)
  To: 65430; +Cc: Navid Afkhami

* gnu/packages/cran.scm (r-earlywarnings): New variable.
---
 gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 223d1d3a3d..08e206673c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4244,6 +4244,39 @@ (define-public r-bslib
 previewing themes in real time.")
     (license license:expat)))
 
+(define-public r-earlywarnings
+  (package
+    (name "r-earlywarnings")
+    (version "1.1.29")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "earlywarnings" version))
+              (sha256
+               (base32
+                "1xa9rijqqxa5l253dg8dn1jjhdakf8krl5rflq5v9gybfyrq1885"))))
+    (properties `((upstream-name . "earlywarnings")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-fields
+                             r-ggplot2
+                             r-kendall
+                             r-kernsmooth
+                             r-knitr
+                             r-lmtest
+                             r-moments
+                             r-nortest
+                             r-quadprog
+                             r-som
+                             r-spam
+                             r-tgp
+                             r-tseries))
+    (native-inputs (list r-knitr))
+    (home-page "http://www.early-warning-signals.org")
+    (synopsis "Early warning signals for critical transitions in time series")
+    (description
+     "This package offers methods for estimating statistical changes in time series.
+These are used for identifying nearby critical transitions.")
+    (license license:bsd-2)))
+
 ;; This package includes minified JavaScript files.  When upgrading please
 ;; check that there are no new minified JavaScript files.
 (define-public r-shiny
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#65429] [PATCH 3/3] gnu: Add r-tgp.
  2023-08-21 13:44 [bug#65428] [PATCH 1/3] gnu: Add r-maptree Navid Afkhami
  2023-08-21 13:44 ` [bug#65430] [PATCH 2/3] gnu: Add r-earlywarnings Navid Afkhami
@ 2023-08-21 13:44 ` Navid Afkhami
  2023-08-28  7:58   ` bug#65429: " Ricardo Wurmus
  2023-08-28  7:55 ` bug#65428: [PATCH 1/3] gnu: Add r-maptree Ricardo Wurmus
  2 siblings, 1 reply; 6+ messages in thread
From: Navid Afkhami @ 2023-08-21 13:44 UTC (permalink / raw)
  To: 65429; +Cc: Navid Afkhami

* gnu/packages/cran.scm (r-tgp): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 08e206673c..cf2e2e1f59 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1059,6 +1059,29 @@ (define-public r-googlesheets4
 can read and write both the metadata and the cell data in a Sheet.")
     (license license:expat)))
 
+(define-public r-tgp
+  (package
+    (name "r-tgp")
+    (version "2.4-21")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "tgp" version))
+              (sha256
+               (base32
+                "12ifd7rm3wskhbpnhfvz92z3graxzryq0iy1jiqmdk6bvhxkiww8"))))
+    (properties `((upstream-name . "tgp")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-maptree))
+    (home-page "https://bobby.gramacy.com/r_packages/tgp/")
+    (synopsis "Bayesian treed gaussian process Models")
+    (description
+     "R-tgb provides Bayesian nonstationary regression and treed Gaussian processes.
+Iin addition, it  provides visualization functions, tree drawing, sensitivity
+analysis, multi-resolution models, and sequential experimental design tools,
+including ALM, ALC, and expected improvement for optimizing noisy black-box
+functions.")
+    (license license:lgpl2.0+)))
+
 (define-public r-pma
   (package
     (name "r-pma")
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#65428: [PATCH 1/3] gnu: Add r-maptree.
  2023-08-21 13:44 [bug#65428] [PATCH 1/3] gnu: Add r-maptree Navid Afkhami
  2023-08-21 13:44 ` [bug#65430] [PATCH 2/3] gnu: Add r-earlywarnings Navid Afkhami
  2023-08-21 13:44 ` [bug#65429] [PATCH 3/3] gnu: Add r-tgp Navid Afkhami
@ 2023-08-28  7:55 ` Ricardo Wurmus
  2 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2023-08-28  7:55 UTC (permalink / raw)
  To: 65428-done

Applied with changes to the description (to use complete sentences) and
to the license comment.

Thanks!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#65429: [PATCH 3/3] gnu: Add r-tgp.
  2023-08-21 13:44 ` [bug#65429] [PATCH 3/3] gnu: Add r-tgp Navid Afkhami
@ 2023-08-28  7:58   ` Ricardo Wurmus
  0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2023-08-28  7:58 UTC (permalink / raw)
  To: 65429-done

Applied with minor changes.  Thanks!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#65430: [PATCH 2/3] gnu: Add r-earlywarnings.
  2023-08-21 13:44 ` [bug#65430] [PATCH 2/3] gnu: Add r-earlywarnings Navid Afkhami
@ 2023-08-28  8:01   ` Ricardo Wurmus
  0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2023-08-28  8:01 UTC (permalink / raw)
  To: 65430-done

Applied with very minor changes (location in the file, paragraph
reflow in description).

Thank you!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-28  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21 13:44 [bug#65428] [PATCH 1/3] gnu: Add r-maptree Navid Afkhami
2023-08-21 13:44 ` [bug#65430] [PATCH 2/3] gnu: Add r-earlywarnings Navid Afkhami
2023-08-28  8:01   ` bug#65430: " Ricardo Wurmus
2023-08-21 13:44 ` [bug#65429] [PATCH 3/3] gnu: Add r-tgp Navid Afkhami
2023-08-28  7:58   ` bug#65429: " Ricardo Wurmus
2023-08-28  7:55 ` bug#65428: [PATCH 1/3] gnu: Add r-maptree Ricardo Wurmus

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).