From f235789e4d4fd0be13eed639f329f84ca04ce7b7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 1 Jul 2022 15:30:00 +0200 Subject: 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(-) (limited to 'gnu') 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)) -- cgit v1.2.3