From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: <66843@debbugs.gnu.org>
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#66843] [PATCH 07/11] gnu: Add r-profmem.
Date: Tue, 31 Oct 2023 11:57:25 +0100 [thread overview]
Message-ID: <a63166876fe8ecedc3d3e6fa54b1ddf6a45f3acf.1698749849.git.madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <4d5576bdd09911a6a51bbe87a1b905bd07ca0c4b.1698749849.git.madalinionel.patrascu@mdc-berlin.de>
* gnu/packages/cran.scm (r-profmem): New variable.
Change-Id: If99cf8e963601e9f0a664f12ef263a064b59b0d6
---
gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ef43771f47..27ea2cdc06 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1266,6 +1266,38 @@ (define-public r-prettydoc
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 'change-home-dir
+ (lambda _
+ ;; Change from /homeless-shelter to /tmp for write permission.
+ (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")
--
2.41.0
next prev parent reply other threads:[~2023-10-31 11:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-31 10:53 [bug#66843] [PATCH] gnu: Add r-radiogx, r-coregx, r-piano, r-bench, r-profmem, r-relations, r-magicaxis, r-celestial, r-nistunits, r-r4rna and r-r3cseq Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 01/11] gnu: Add r-r3cseq Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 02/11] gnu: Add r-r4rna Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 03/11] gnu: Add r-nistunits Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 04/11] gnu: Add r-celestial Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 05/11] gnu: Add r-magicaxis Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 06/11] gnu: Add r-relations Mădălin Ionel Patrașcu
2023-10-31 10:57 ` Mădălin Ionel Patrașcu [this message]
2023-10-31 10:57 ` [bug#66843] [PATCH 08/11] gnu: Add r-bench Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 09/11] gnu: Add r-piano Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 10/11] gnu: Add r-coregx Mădălin Ionel Patrașcu
2023-10-31 10:57 ` [bug#66843] [PATCH 11/11] gnu: Add r-radiogx Mădălin Ionel Patrașcu
2023-10-31 13:00 ` bug#66843: [PATCH] gnu: Add r-radiogx, r-coregx, r-piano, r-bench, r-profmem, r-relations, r-magicaxis, r-celestial, r-nistunits, r-r4rna and r-r3cseq Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a63166876fe8ecedc3d3e6fa54b1ddf6a45f3acf.1698749849.git.madalinionel.patrascu@mdc-berlin.de \
--to=madalinionel.patrascu@mdc-berlin.de \
--cc=66843@debbugs.gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).