From 4b97e8e4b8c7d0dd90e0288c1e1999999fd177af Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 25 Nov 2024 13:49:48 +0100 Subject: [PATCH] gnu: r-tarchetypes: Disable tests. * gnu/packages/cran.scm (r-tarchetypes)[arguments]: Only build vignettes. [native-inputs]: Add r-rmarkdown. Change-Id: If5bf4054be61275995b54a60ac8b63182cd36aca --- gnu/packages/cran.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f59bc83dd4..146e652584 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19264,6 +19264,11 @@ handle data from simple random samples as well as complex surveys.") "0xhx2l00j1yb68a8m5b9c9ams90sp01m9kvzxjgi90zpimpmc3h1")))) (properties `((upstream-name . "tarchetypes"))) (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 r-fs r-rlang @@ -19273,7 +19278,7 @@ handle data from simple random samples as well as complex surveys.") r-tidyselect r-vctrs r-withr)) - (native-inputs (list r-testthat)) + (native-inputs (list r-rmarkdown r-testthat)) (home-page "https://docs.ropensci.org/tarchetypes/") (synopsis "Archetypes for Targets") (description