This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/r-team by this push:
     new 8d2a01c965 gnu: r-mosaic: Add missing test inputs.
8d2a01c965 is described below

commit 8d2a01c965fa94cfcdc6cb1d21ebcc7f97e1d5b3
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Nov 26 20:34:39 2025 +0100

    gnu: r-mosaic: Add missing test inputs.
    
    * gnu/packages/cran.scm (r-mosaic)[properties]: Record
    updater-extra-native-inputs.
    [arguments]: Only skip one test in test-read.file.R.
    [native-inputs]: Add r-broom, r-ggdendro, r-ggrepel, and r-latticeextra.
    
    Change-Id: If9ee5ee970ecfaa4b291d92a7f467585ea3a9453
---
 gnu/packages/cran.scm | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 317554f1c7..8877eb84dc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27721,6 +27721,9 @@ Processing of very large files is supported.")
        (sha256
         (base32 "07jynw6kg3bfsmnisx7nf6fydximdkryk6m08cljmfriyfkvqmhy"))))
     (build-system r-build-system)
+    (properties
+     '((updater-extra-native-inputs
+        . ("r-broom" "r-ggdendro" "r-ggrepel" "r-latticeextra"))))
     (arguments
      (list
       #:phases
@@ -27728,9 +27731,11 @@ Processing of very large files is supported.")
          (add-after 'unpack 'delete-bad-tests
            (lambda _
              ;; This file contains tests that attempt to download data files
-             ;; off the internet.
-             (delete-file "tests/testthat/test-read.file.R")
-             ;; Unknown failure.
+             ;; off the internet
+             (substitute* "tests/testthat/test-read.file.R"
+               ((".*read.file works.*" m)
+                (string-append m "skip('skip');\n")))
+             ;; Code run outside of test_that().
              (delete-file "tests/testthat/test-ladd.R"))))))
     (propagated-inputs
      (list r-dplyr
@@ -27746,7 +27751,13 @@ Processing of very large files is supported.")
            r-tibble
            r-tidyr))
     (native-inputs
-     (list r-knitr r-manipulate r-testthat))
+     (list r-broom
+           r-ggdendro
+           r-ggrepel
+           r-knitr
+           r-latticeextra
+           r-manipulate
+           r-testthat))
     (home-page "https://github.com/ProjectMOSAIC/mosaic/";)
     (synopsis "Mathematics, statistics, and computation teaching utilities")
     (description

Reply via email to