summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-07-26 15:15:31 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-07-28 22:26:22 +0200
commit6e27f274b26a78ab413db160662d37ec23b7443a (patch)
treee535e57d42c05cf3274f5bd2af1742b6f44b47e3 /gnu/packages/cran.scm
parentf39deacd21c74c6c03746b41ce9cb57deefe7e56 (diff)
downloadguix-6e27f274b26a78ab413db160662d37ec23b7443a.tar.gz
gnu: Add r-lobstr.
* gnu/packages/cran.scm (r-lobstr): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e4b96adffc..859e6b4cd3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26824,6 +26824,33 @@ workflow.  The advantages are:
 ")
     (license license:expat)))
 
+(define-public r-lobstr
+  (package
+    (name "r-lobstr")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lobstr" version))
+       (sha256
+        (base32
+         "0vkif17825x33cz8r89j0qph4wj5l8fzfgl8nh2g7m2v140cxjdq"))))
+    (properties `((upstream-name . "lobstr")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-crayon" ,r-crayon)
+       ("r-rcpp" ,r-rcpp)
+       ("r-rlang" ,r-rlang)))
+    (home-page "https://github.com/r-lib/lobstr")
+    (synopsis "Visualize R data structures with trees")
+    (description
+     "This package provides a set of tools for inspecting and understanding R
+data structures inspired by @code{str}.  It includes @code{ast} for
+visualizing abstract syntax trees, @code{ref} for showing shared references,
+@code{cst} for showing call stack trees, and @code{obj_size} for computing
+object sizes.")
+    (license license:gpl3)))
+
 (define-public r-gpfit
   (package
     (name "r-gpfit")