From 38894961c2c7ac046430d5b07d65d3c399425df8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 26 Nov 2025 20:34:39 +0100 Subject: [PATCH] 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 7c529109fc46a288d31f937afff5b4d56a44600d..bc429a1cdc0eea22ecc358ccddeb8af30531d532 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