R Under development (unstable) (2026-03-25 r89703 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(aisdk) > > # Note: helper-env.R is automatically loaded by testthat from tests/testthat/ > # No need to manually source it here > > test_check("aisdk") Saving _problems/test-channel-runtime-266.R Saving _problems/test-channel-runtime-267.R PDF error: Couldn't find trailer dictionary PDF error: Couldn't find trailer dictionary PDF error: Couldn't read xref table PDF error: Couldn't find trailer dictionary PDF error: Couldn't find trailer dictionary PDF error: Couldn't read xref table PDF error: Couldn't find trailer dictionary PDF error: Couldn't find trailer dictionary PDF error: Couldn't read xref table PDF error: Couldn't find trailer dictionary PDF error: Couldn't find trailer dictionary PDF error: Couldn't read xref table v Debug view enabled. Detailed tool logs and thinking are now visible. v Debug view disabled. Console output is now compact. v Inspect view enabled. Tool timelines are now summarized after each turn. v Inspect view disabled. Console output is now clean. i Model chooser cancelled. v Switched to model: "anthropic:claude-sonnet-4-20250514" Current model: "openai:gpt-4o" v Inspect overlay opened for the latest turn. v Inspect overlay closed. v Inspect overlay opened for the latest turn. v Inspect overlay moved to the "next" tool. v Inspect overlay moved to the "next" tool. v Inspect overlay moved to the "prev" tool. ⠋ Running R code: packageVersion('ggtree') v R code completed ⠙ Running R code: message('heads up'); warning('careful'); 2 + 2 v R code completed [Permission Required] Tool: dangerous_tool Arguments: [] -- Header ---------------------------------------------------------------------- -- Header 1 -------------------------------------------------------------------- -- Header 2 -- * List item 1 * List item 2 ```r x <- 1 y <- 2 ``` Result text Line 1 Line 2 [ FAIL 2 | WARN 0 | SKIP 62 | PASS 1281 ] ══ Skipped tests (62) ══════════════════════════════════════════════════════════ • API tests disabled: set ENABLE_API_TESTS=TRUE to run live API tests. (19): 'test-provider-aihubmix.R:136:5', 'test-provider-anthropic.R:53:3', 'test-provider-anthropic.R:79:3', 'test-provider-bailian.R:73:5', 'test-provider-bailian.R:92:5', 'test-provider-deepseek.R:62:5', 'test-provider-deepseek.R:82:5', 'test-provider-deepseek.R:107:5', 'test-provider-gemini.R:157:5', 'test-provider-openai.R:64:3', 'test-provider-openai.R:87:3', 'test-provider-openai.R:212:3', 'test-provider-openai.R:235:3', 'test-provider-openrouter.R:74:5', 'test-provider-openrouter.R:93:5', 'test-provider-stepfun.R:78:9', 'test-provider-volcengine.R:81:5', 'test-provider-volcengine.R:102:5', 'test-provider-xai.R:79:9' • On CRAN (26): 'test-computer.R:13:3', 'test-computer.R:24:3', 'test-computer.R:34:3', 'test-computer.R:45:3', 'test-computer.R:62:3', 'test-computer.R:72:3', 'test-computer.R:88:3', 'test-computer.R:101:3', 'test-computer.R:112:3', 'test-computer.R:122:3', 'test-computer.R:132:3', 'test-computer.R:143:3', 'test-computer.R:156:3', 'test-computer.R:167:3', 'test-computer.R:180:3', 'test-computer.R:190:3', 'test-computer.R:247:3', 'test-computer.R:268:3', 'test-computer.R:278:3', 'test-computer.R:293:3', 'test-core-api.R:16:3', 'test-core-api.R:30:3', 'test-provider-anthropic.R:114:3', 'test-session.R:132:3', 'test-session.R:158:3', 'test-session.R:188:3' • Test fixtures not found (17): 'test-skill-registry.R:19:3', 'test-skill-registry.R:30:3', 'test-skill-registry.R:48:3', 'test-skill-registry.R:66:3', 'test-skill-registry.R:77:3', 'test-skill-registry.R:99:3', 'test-skill-registry.R:121:3', 'test-skill-registry.R:130:3', 'test-skill-registry.R:141:3', 'test-skill.R:12:3', 'test-skill.R:22:3', 'test-skill.R:64:3', 'test-skill.R:77:3', 'test-skill.R:101:3', 'test-skill.R:110:3', 'test-skill.R:119:3', 'test-skill.R:129:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-channel-runtime.R:266:3'): ChannelRuntime sends local attachments referenced in final reply text ── Expected `length(adapter$sent_attachments)` to equal 1. Differences: `actual`: 0.0 `expected`: 1.0 ── Error ('test-channel-runtime.R:267:3'): ChannelRuntime sends local attachments referenced in final reply text ── Error in `adapter$sent_attachments[[1]]`: subscript out of bounds Backtrace: ▆ 1. └─testthat::expect_equal(...) at test-channel-runtime.R:267:3 2. └─testthat::quasi_label(enquo(object), label) 3. └─rlang::eval_bare(expr, quo_get_env(quo)) [ FAIL 2 | WARN 0 | SKIP 62 | PASS 1281 ] Error: ! Test failures. Execution halted