summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-07-01 15:30:00 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-07-02 23:56:06 +0200
commitf235789e4d4fd0be13eed639f329f84ca04ce7b7 (patch)
tree755ef11ab9fbacd65130faf1a1186382607eaffc
parente813a7e9fb51d6a2a55163dd934d71a9bd80c672 (diff)
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.
-rw-r--r--gnu/packages/cran.scm17
1 files 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))