Running ‘demo_cholesky.R’ [1s/2s]
  Comparing ‘demo_cholesky.Rout’ to ‘demo_cholesky.Rout.save’ ... OK
  Running ‘demo_jss10-example1.R’ [3s/4s]
  Comparing ‘demo_jss10-example1.Rout’ to ‘demo_jss10-example1.Rout.save’ ... OK
  Running ‘demo_jss10-figures-table.R’ [7s/9s]
  Comparing ‘demo_jss10-figures-table.Rout’ to ‘demo_jss10-figures-table.Rout.save’ ... OK
  Running ‘demo_jss15-BYM.R’ [2s/3s]
  Comparing ‘demo_jss15-BYM.Rout’ to ‘demo_jss15-BYM.Rout.save’ ... OK
  Running ‘demo_jss15-Leroux.R’ [3s/4s]
  Comparing ‘demo_jss15-Leroux.Rout’ to ‘demo_jss15-Leroux.Rout.save’ ... OK
  Running ‘demo_spam.R’ [1s/2s]
  Comparing ‘demo_spam.Rout’ to ‘demo_spam.Rout.save’ ... OK
  Running ‘demo_timing.R’ [3s/4s]
  Comparing ‘demo_timing.Rout’ to ‘demo_timing.Rout.save’ ... OK
  Running ‘jss_areal_counts.R’ [2s/3s]
  Comparing ‘jss_areal_counts.Rout’ to ‘jss_areal_counts.Rout.save’ ... OK
  Running ‘testthat.R’ [9s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # HEADER ####################################################
  > # This is file spam/tests/testthat.R.                       #
  > # It is part of the R package spam,                         #
  > #  --> https://CRAN.R-project.org/package=spam              #
  > #  --> https://CRAN.R-project.org/package=spam64            #
  > #  --> https://git.math.uzh.ch/reinhard.furrer/spam         #
  > # by Reinhard Furrer [aut, cre], Florian Gerber [aut],      #
  > #    Roman Flury [aut], Daniel Gerber [ctb],                #
  > #    Kaspar Moesinger [ctb]                                 #
  > # HEADER END ################################################
  > 
  > library("testthat")
  > # library("spam")
  > 
  > test_check("spam")
  Loading required package: spam
  Spam version 2.11-1 (2025-01-20) is loaded.
  Type 'help( Spam)' or 'demo( spam)' for a short introduction 
  and overview of this package.
  Help for individual functions is also obtained by adding the
  suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
  
  Attaching package: 'spam'
  
  The following objects are masked from 'package:base':
  
      backsolve, forwardsolve
  
  Saving _problems/test-diff-33.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 729 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-diff.R:33:5'): diff ──────────────────────────────────────────
  Expected `diff(x, 4, d = 4)` to equal `diff(as.spam(x), 4, d = 4)`.
  Differences:
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 1, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 729 ]
  Error:
  ! Test failures.
  Execution halted