summary refs log tree commit diff
diff options
context:
space:
mode:
authorKyle Andrews <kyle@posteo.net>2023-04-01 04:57:00 +0000
committerRicardo Wurmus <rekado@elephly.net>2023-04-04 15:57:02 +0200
commit0e50fa6b00f598258cea1a08421afb8c0e4b1a60 (patch)
treedd8a4b498b5686fd66726bca0a0fc51b437713ee
parentb9c9c23939a40a850a8c78579adaec25d1972bd1 (diff)
downloadguix-0e50fa6b00f598258cea1a08421afb8c0e4b1a60.tar.gz
gnu: Add r-targets.
* gnu/packages/cran.scm (r-targets): New variable.,

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r--gnu/packages/cran.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f2bdd750ca..797b74a128 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14456,6 +14456,48 @@ equations, and Cox proportional hazards models.  Functions are available to
 handle data from simple random samples as well as complex surveys.")
     (license license:gpl3+)))
 
+(define-public r-targets
+  (package
+    (name "r-targets")
+    (version "0.14.3")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "targets" version))
+              (sha256
+               (base32
+                "0mhwvlbxnb4w054pjiw2smss28i90sg52w8v040y7sqy6gq2c8n6"))))
+    (properties `((upstream-name . "targets")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-base64url
+                             r-callr
+                             r-cli
+                             r-codetools
+                             r-data-table
+                             r-digest
+                             r-igraph
+                             r-knitr
+                             r-r6
+                             r-rlang
+                             r-tibble
+                             r-tidyselect
+                             r-vctrs
+                             r-withr
+                             r-yaml))
+    (native-inputs (list r-knitr))
+    (home-page "https://docs.ropensci.org/targets/")
+    (synopsis "Dynamic function-oriented Make-like declarative pipelines")
+    (description
+     "This package provides a pipeline toolkit for statistics and data science
+in R; the @code{targets} package brings function-oriented programming to
+Make-like declarative pipelines.  It orchestrates a pipeline as a graph of
+dependencies, skips steps that are already up to date, runs the necessary
+computation with optional parallel workers, abstracts files as R objects, and
+provides tangible evidence that the results are reproducible given the
+underlying code and data.  The methodology in this package borrows from GNU
+Make (2015, ISBN:978-9881443519) and drake (2018,
+<doi:10.21105/joss.00550>).")
+    (license license:expat)))
+
 (define-public r-dvmisc
   (package
     (name "r-dvmisc")