Subject: bug#65201: closed ([PATCH] gnu: Add r-partr2.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 10 Aug 2023 22:34:02 +0000

Your bug report

#65201: [PATCH] gnu: Add r-partr2.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65201: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65201
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add r-partr2.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Fri, 11 Aug 2023 00:32:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

-- 
Ricardo

Subject: [PATCH] gnu: Add r-partr2.
From: Navid Afkhami <[email-masked]>
To: <[email-masked]>
Cc: Navid Afkhami <[email-masked]>
Date: Thu, 10 Aug 2023 10:28:35 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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