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

commit c6426f3f1d7f28be3b93a2c61611e0b54bceb6fa
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 bd4f2d926d..19b78a5858 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27730,6 +27730,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
@@ -27737,9 +27740,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
@@ -27755,7 +27760,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