diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-05-07 09:52:40 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-05-08 12:53:14 +0200 |
commit | 66e179ac1806aceb40960a56749ef56bca43939f (patch) | |
tree | b21494ac8945e63289c223f5cb2287cd3bf56917 | |
parent | 628d007b831dcf0471383ab372b2207ef5a99f16 (diff) |
gnu: r-xts: Remove vignette outputs.
* gnu/packages/cran.scm (r-xts)[source]: Add snippet to remove generated
files.
Change-Id: Iba82b900e632e2cf5a99c9deb807bae6cf3dabcd
-rw-r--r-- | gnu/packages/cran.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 36a2a03254..0d1d57475a 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -10075,7 +10075,18 @@ training models for classification or ranking.") (uri (cran-uri "xts" version)) (sha256 (base32 - "1yqx1x395hvdav1fvmpwrfm8sir398ky1bi0x5zsm7acbkv91maa")))) + "1yqx1x395hvdav1fvmpwrfm8sir398ky1bi0x5zsm7acbkv91maa")) + (modules '((guix build utils))) + (snippet + '(with-directory-excursion "inst/doc" + ;; These files are generated from Rnw files. + (for-each delete-file + (list "xts-faq.R" + "xts-faq.Rnw" + "xts-faq.pdf" + "xts.R" + "xts.Rnw" + "xts.pdf")))))) (build-system r-build-system) (propagated-inputs (list r-zoo)) (home-page "https://github.com/joshuaulrich/xts") |