guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/23: gnu: r-tarchetypes: Disable tests.


From: guix-commits
Subject: 01/23: gnu: r-tarchetypes: Disable tests.
Date: Mon, 25 Nov 2024 10:56:56 -0500 (EST)

rekado pushed a commit to branch r-team
in repository guix.

commit 3d5610050fa91792aeacd828a910800a1005f205
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Nov 25 13:49:48 2024 +0100

    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 4f8a508a6d..39f45ab968 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19224,6 +19224,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
@@ -19233,7 +19238,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]