Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # 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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(rollama)
  > test_check("rollama")
  Saving _problems/test-cache-32.R
  Created cache directory '/home/hornik/tmp/scratch/RtmppR3hTV/file30ab724dc1d284/new_cache'
  x Could not connect to Ollama at <http://localhost:11434>
  [ FAIL 1 | WARN 0 | SKIP 27 | PASS 26 ]
  
  ══ Skipped tests (27) ══════════════════════════════════════════════════════════
  • ping_ollama(silent = TRUE) is not TRUE (27): 'test-aaa.R:4:3',
    'test-cache.R:128:3', 'test-cache.R:137:3', 'test-cache.R:147:3',
    'test-cache.R:164:3', 'test-cache.R:191:3', 'test-chat.R:2:3',
    'test-chat.R:16:3', 'test-chat.R:40:3', 'test-chat.R:64:3',
    'test-chat.R:97:3', 'test-chat.R:120:3', 'test-embedding.R:2:3',
    'test-embedding.R:11:3', 'test-embedding.R:23:3', 'test-embedding.R:28:3',
    'test-embedding.R:33:3', 'test-make_query.R:37:3', 'test-models.R:4:3',
    'test-models.R:9:3', 'test-models.R:18:3', 'test-models.R:31:3',
    'test-models.R:43:3', 'test-models.R:48:3', 'test-models.R:54:3',
    'test-models.R:62:3', 'test-utils.R:9:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-cache.R:32:3'): req_hash deterministically returns a 32-character hash string ──
  Expected `req_hash(make_fake_req())` to equal "0227ca5af8ae565c3383d248a8b1010a".
  Differences:
  `actual`:   "aa8987c18b69ccd868e451b5426aac70"
  `expected`: "0227ca5af8ae565c3383d248a8b1010a"
  
  
  [ FAIL 1 | WARN 0 | SKIP 27 | PASS 26 ]
  Error:
  ! Test failures.
  Execution halted