guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/74: gnu: r-sandwich: Update to 3.0-2.


From: guix-commits
Subject: 14/74: gnu: r-sandwich: Update to 3.0-2.
Date: Sat, 2 Jul 2022 18:00:32 -0400 (EDT)

rekado pushed a commit to branch wip-r
in repository guix.

commit f235789e4d4fd0be13eed639f329f84ca04ce7b7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jul 1 15:30:00 2022 +0200

    gnu: r-sandwich: Update to 3.0-2.
    
    * gnu/packages/cran.scm (r-sandwich): Update to 3.0-2.
    [source]: Add snippet to remove generated files.
---
 gnu/packages/cran.scm | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7c8d7c6921..a20d317436 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12084,14 +12084,27 @@ observation.")
 (define-public r-sandwich
   (package
     (name "r-sandwich")
-    (version "3.0-1")
+    (version "3.0-2")
     (source
      (origin
        (method url-fetch)
        (uri (cran-uri "sandwich" version))
        (sha256
         (base32
-         "12aa5083k3sfrfq1jy3l94wffss9h0rga8j71jy3n8pkhiq4nn7n"))))
+         "1d72vwxidsyac9mbyxrm06qds63rzcr82nn4c05466gbajsvcc3f"))
+       (modules '((guix build utils)))
+       (snippet
+        '(with-directory-excursion "inst/doc"
+           ;; These files are generated from Rnw files.
+           (for-each delete-file
+                     (list "sandwich-OOP.pdf"
+                           "sandwich-OOP.R"
+                           "sandwich.pdf"
+                           "sandwich-CL.R"
+                           "sim-CL.rda"
+                           "sim-CL.R"
+                           "sandwich.R"
+                           "sandwich-CL.pdf"))))))
     (build-system r-build-system)
     (propagated-inputs
      (list r-zoo))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]