unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65201] [PATCH] gnu: Add r-partr2.
@ 2023-08-10 10:28 Navid Afkhami
  2023-08-10 22:32 ` bug#65201: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Navid Afkhami @ 2023-08-10 10:28 UTC (permalink / raw)
  To: 65201; +Cc: Navid Afkhami

* gnu/packages/bioinformatics.scm (r-partr2): New variable.
---
 gnu/packages/bioinformatics.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b847c9a5d7..29f5403702 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -947,6 +947,34 @@ (define-public r-numbat
 solely on the donor scRNA-data data (for example, 10x Cell Ranger output).")
       (license license:expat))))
 
+(define-public r-partr2
+  (package
+    (name "r-partr2")
+    (version "0.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "partR2" version))
+              (sha256
+               (base32
+                "06ky0hhrq0mcsn9rwrzvwn0rrjj0l8rxs0hqp10668gdq5hjk8bn"))))
+    (properties `((upstream-name . "partR2")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-dplyr
+                             r-ggplot2
+                             r-lme4
+                             r-magrittr
+                             r-pbapply
+                             r-purrr
+                             r-rlang
+                             r-tibble
+                             r-tidyr))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/mastoffel/partR2")
+    (synopsis "Partitioning R2 in GLMMs")
+    (description
+     "An R tool for estimating and partitioning R2 in GLMMs based on predictor variance.")
+    (license license:gpl2+)))
+
 (define-public r-p2data
   (let ((commit "7d4c0e17d7899f9d9b08ab2bf455abe150912f4c")
         (revision "1"))

base-commit: 997b38badaee20a1c60411e5e599e260e47785ec
-- 
2.34.1





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

* bug#65201: [PATCH] gnu: Add r-partr2.
  2023-08-10 10:28 [bug#65201] [PATCH] gnu: Add r-partr2 Navid Afkhami
@ 2023-08-10 22:32 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2023-08-10 22:32 UTC (permalink / raw)
  To: 65201-done

Thanks for the patch.  I relocated the package to cran.scm and adjusted
the description.

-- 
Ricardo




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

end of thread, other threads:[~2023-08-10 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-10 10:28 [bug#65201] [PATCH] gnu: Add r-partr2 Navid Afkhami
2023-08-10 22:32 ` bug#65201: " 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).