* using log directory 'd:/RCompile/CRANincoming/R-devel/aisdk.Rcheck' * using R Under development (unstable) (2026-03-25 r89703 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-03-26 15:59:32 UTC * checking for file 'aisdk/DESCRIPTION' ... OK * this is package 'aisdk' version '1.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [15s] NOTE Maintainer: 'Yonghe Xia ' New submission * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'aisdk' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [36s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [31s] ERROR Running 'test_providers_manual.R' Running 'testthat.R' [31s] 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(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 * checking PDF version of manual ... [34s] OK * checking HTML version of manual ... [91s] OK * DONE Status: 1 ERROR, 1 NOTE