[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/11: gnu: Add r-profmem.
From: |
guix-commits |
Subject: |
07/11: gnu: Add r-profmem. |
Date: |
Tue, 31 Oct 2023 08:59:04 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 4903e709937f61a38bc54a5245c2cf5a1c6fb417
Author: Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
AuthorDate: Tue Oct 31 11:57:25 2023 +0100
gnu: Add r-profmem.
* gnu/packages/cran.scm (r-profmem): New variable.
Change-Id: If99cf8e963601e9f0a664f12ef263a064b59b0d6
---
gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3aa0868679..deb1817305 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1326,6 +1326,37 @@ engines that convert R Markdown into HTML pages.
Various themes and syntax
highlight styles are supported.")
(license license:asl2.0)))
+(define-public r-profmem
+ (package
+ (name "r-profmem")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "profmem" version))
+ (sha256
+ (base32 "0gg6ja0ifwn9jj42rw1gnyil55sl9r2y5rjb6yjcvqwd5arajp3l"))))
+ (properties `((upstream-name . "profmem")))
+ (build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-before 'install 'set-HOME
+ (lambda _
+ ;; Needed for building vignettes
+ (setenv "HOME" "/tmp"))))))
+ (native-inputs
+ (list r-r-rsp r-markdown)) ;for vignettes
+ (home-page "https://github.com/HenrikBengtsson/profmem")
+ (synopsis "Simple memory profiling for R")
+ (description
+ "This package provides a simple and light-weight API for memory profiling
+of R expressions. The profiling is built on top of R's built-in memory
+profiler @code{utils::Rprofmem()}, which records every memory allocation done
+by R (also native code).")
+ (license license:lgpl2.1+)))
+
(define-public r-proj4
(package
(name "r-proj4")
- branch master updated (c0895371c5 -> a0a377fdd6), guix-commits, 2023/10/31
- 01/11: gnu: Add r-r3cseq., guix-commits, 2023/10/31
- 03/11: gnu: Add r-nistunits., guix-commits, 2023/10/31
- 02/11: gnu: Add r-r4rna., guix-commits, 2023/10/31
- 04/11: gnu: Add r-celestial., guix-commits, 2023/10/31
- 06/11: gnu: Add r-relations., guix-commits, 2023/10/31
- 08/11: gnu: Add r-bench., guix-commits, 2023/10/31
- 09/11: gnu: Add r-piano., guix-commits, 2023/10/31
- 07/11: gnu: Add r-profmem.,
guix-commits <=
- 05/11: gnu: Add r-magicaxis., guix-commits, 2023/10/31
- 10/11: gnu: Add r-coregx., guix-commits, 2023/10/31
- 11/11: gnu: Add r-radiogx., guix-commits, 2023/10/31