gnu: r-tarchetypes: Disable tests.

* gnu/packages/cran.scm (r-tarchetypes)[arguments]: Only build vignettes.
[native-inputs]: Add r-rmarkdown.

Change-Id: If5bf4054be61275995b54a60ac8b63182cd36aca
This commit is contained in:
Ricardo Wurmus 2024-11-25 13:49:48 +01:00 committed by Andreas Enge
parent 92fa8df992
commit 4b97e8e4b8
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -19264,6 +19264,11 @@ (define-public r-tarchetypes
"0xhx2l00j1yb68a8m5b9c9ams90sp01m9kvzxjgi90zpimpmc3h1")))) "0xhx2l00j1yb68a8m5b9c9ams90sp01m9kvzxjgi90zpimpmc3h1"))))
(properties `((upstream-name . "tarchetypes"))) (properties `((upstream-name . "tarchetypes")))
(build-system r-build-system) (build-system r-build-system)
;; Many tests fail, because r-targets looks up the system's partitions,
;; which fails in the build environment. Unfortunately, the error
;; messages are both verbose and close to useless, so I can't see how we
;; can work around this.
(arguments (list #:test-types '(list "vignettes")))
(propagated-inputs (list r-dplyr (propagated-inputs (list r-dplyr
r-fs r-fs
r-rlang r-rlang
@ -19273,7 +19278,7 @@ (define-public r-tarchetypes
r-tidyselect r-tidyselect
r-vctrs r-vctrs
r-withr)) r-withr))
(native-inputs (list r-testthat)) (native-inputs (list r-rmarkdown r-testthat))
(home-page "https://docs.ropensci.org/tarchetypes/") (home-page "https://docs.ropensci.org/tarchetypes/")
(synopsis "Archetypes for Targets") (synopsis "Archetypes for Targets")
(description (description