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(tidyllm)
  
  Attaching package: 'tidyllm'
  
  The following object is masked from 'package:stats':
  
      embed
  
  > 
  > test_check("tidyllm")
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 269 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_api_claude.R:15:3'): claude function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_claude.R:108:3'): send_claude_batch creates correct request format ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_deepseek.R:12:3'): deepseek function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_gemini.R:18:3'): gemini_chat function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_gemini.R:24:3'): gemini_chat function constructs a correct request and dry runs it ──
  grepl("/v1beta/models/gemini-2.0-flash:generateContent", dry_run$path) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test_api_groq.R:18:3'): groq function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_mistral.R:14:3'): mistral function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_ollama.R:14:3'): ollama function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_ollama.R:59:3'): ollama_embedding function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_openai.R:17:3'): openai function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  ── Failure ('test_api_perplexity.R:15:3'): perplexity function constructs a correct request and dry runs it ──
  Names of `dry_run` ('method', 'path', 'body', 'headers') don't match 'method', 'path', 'headers'
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 269 ]
  Error: Test failures
  Execution halted