R Under development (unstable) (2026-01-22 r89323 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(SVG) SVG: Spatially Variable Genes Detection Methods Version: 1.0.0 Author: Zaoqu Liu (liuzaoqu@163.com) GitHub: https://github.com/Zaoqu-Liu/SVG --- Available methods: MERINGUE, binSpect, SPARK-X, nnSVG Use CalSVG() for unified interface or CalSVG_*() for specific methods > > test_check("SVG") Saving _problems/test-simulation-10.R Saving _problems/test-simulation-28.R Saving _problems/test-simulation-45.R Saving _problems/test-simulation-56.R Saving _problems/test-simulation-74.R Saving _problems/test-simulation-88.R Saving _problems/test-simulation-99.R [ FAIL 7 | WARN 0 | SKIP 0 | PASS 65 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-simulation.R:5:5'): simulate_spatial_data returns correct structure ── Error in `simulate_spatial_data(n_spots = 100, n_genes = 50, n_svg = 10, seed = 42)`: unused argument (seed = 42) ── Error ('test-simulation.R:23:5'): simulate_spatial_data returns correct dimensions ── Error in `simulate_spatial_data(n_spots = n_spots, n_genes = n_genes, n_svg = 10, seed = 42)`: unused argument (seed = 42) ── Error ('test-simulation.R:40:5'): simulate_spatial_data creates correct number of SVGs ── Error in `simulate_spatial_data(n_spots = 100, n_genes = 50, n_svg = n_svg, seed = 42)`: unused argument (seed = 42) ── Error ('test-simulation.R:51:5'): simulate_spatial_data generates valid counts ── Error in `simulate_spatial_data(n_spots = 100, n_genes = 50, n_svg = 10, seed = 42)`: unused argument (seed = 42) ── Error ('test-simulation.R:68:9'): different grid types work correctly ─────── Error in `simulate_spatial_data(n_spots = 50, n_genes = 20, n_svg = 5, grid_type = grid, seed = 42)`: unused argument (seed = 42) ── Error ('test-simulation.R:82:5'): different pattern types are assigned correctly ── Error in `simulate_spatial_data(n_spots = 100, n_genes = 50, n_svg = 20, pattern_types = c("gradient", "hotspot", "periodic", "cluster"), seed = 42)`: unused argument (seed = 42) ── Error ('test-simulation.R:99:5'): reproducibility with same seed ──────────── Error in `simulate_spatial_data(n_spots = 50, n_genes = 20, n_svg = 5, seed = 123)`: unused argument (seed = 123) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 65 ] Error: ! Test failures. Execution halted