gnu: r-xts: Remove vignette outputs.

* gnu/packages/cran.scm (r-xts)[source]: Add snippet to remove generated
files.

Change-Id: Iba82b900e632e2cf5a99c9deb807bae6cf3dabcd
This commit is contained in:
Ricardo Wurmus 2024-05-07 09:52:40 +02:00
parent 628d007b83
commit 66e179ac18
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -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")