* using log directory ‘/srv/hornik/tmp/CRAN_pretest/aisdk.Rcheck’ * using R Under development (unstable) (2026-05-27 r90083) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-16 (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22] GNU Fortran (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22] * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * current time: 2026-05-28 16:58:05 UTC * checking for file ‘aisdk/DESCRIPTION’ ... OK * this is package ‘aisdk’ version ‘1.4.9’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/6s] OK * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘aisdk’ can be installed ... [20s/20s] 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [25s/25s] OK * checking Rd files ... [1s/1s] 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 ... [2s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [47s/67s] ERROR Running ‘test_providers_manual.R’ [0s/0s] Running ‘testthat.R’ [47s/67s] 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") > Assistant: Mock response x Network Connection Interrupted i Don't worry! This process is designed to be resilient. * If you were running a task, it is safe to re-run. * Option 1: Simply run the last command again. * Option 2: Ask the agent to 'Continue where you left off'. > Assistant: v Debug view enabled. Detailed tool logs and thinking are now visible. v Debug view disabled. Console output is now compact. > Assistant: ok v Clipboard image saved to '/tmp/RtmpGr5hGG/working_dir/RtmpzeiZIA/console-startup-153f7c1b773f92/.aisdk/cache/images/clipboard-image-test.png' > Assistant: ok 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 Reloaded skills: 1 -> 1. -- Available Skills -- * dummy_skill: A dummy skill v Context-window override set to "512.0k". v Max output-token override set to "64.0k". v Default generation token limit set to "700". v Default thinking mode enabled. v Default reasoning effort set to "high". v Default thinking budget set to "2.0k". v Default thinking mode cleared. v Custom persona activated. v Persona evolved for "custom". v Persona reset to default. 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_eval x r_eval call had invalid arguments ⠹ Running R code: message('heads up'); warning('careful'); 2 + 2 v R code completed > Assistant: Console protocol worked. > Assistant: 我先调用工具。 我先调用工具。工具结果已经处理完。 > Assistant: FINAL REPORT The package names are available.FINAL REPORT The package names are available. > Assistant: ! Cancelled current turn. History was restored to before this request. > Assistant: x Error: boom [Permission Required] Tool: dangerous_tool Arguments: [] Saving _problems/test-r-introspect-tools-359.R -- Header ---------------------------------------------------------------------- -- Header 1 -------------------------------------------------------------------- -- Header 2 -- * List item 1 * List item 2 ```r x <- 1 y <- 2 ``` Result text Line 1 Line 2 Hint: Run check_api(url = 'https://offline.test') to diagnose connection issues. [ FAIL 1 | WARN 0 | SKIP 52 | PASS 7966 ] ══ Skipped tests (52) ══════════════════════════════════════════════════════════ • API tests disabled: set ENABLE_API_TESTS=TRUE to run live API tests. (5): 'test-provider-anthropic.R:65:3', 'test-provider-anthropic.R:91:3', 'test-provider-gemini.R:477:5', 'test-provider-openai.R:863:3', 'test-provider-openai.R:886:3' • On CRAN (39): '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:79:3', 'test-computer.R:101:3', 'test-computer.R:111:3', 'test-computer.R:127:3', 'test-computer.R:140:3', 'test-computer.R:151:3', 'test-computer.R:162:3', 'test-computer.R:173:3', 'test-computer.R:185:3', 'test-computer.R:198:3', 'test-computer.R:209:3', 'test-computer.R:223:3', 'test-computer.R:233:3', 'test-computer.R:295:3', 'test-computer.R:316:3', 'test-computer.R:326:3', 'test-computer.R:341:3', 'test-provider-anthropic.R:126:3', 'test-provider-openai.R:920:3', 'test-provider-openai.R:960:3', 'test-provider-openai.R:1003:3', 'test-provider-openai.R:1059:3', 'test-provider-openai.R:1103:3', 'test-provider-openai.R:1148:3', 'test-provider-openai.R:1191:3', 'test-provider-openai.R:1234:3', 'test-provider-openai.R:1278:3', 'test-provider-openai.R:1363:3', 'test-provider-openai.R:1448:3', 'test-provider-openai.R:1513:3', 'test-provider-openai.R:1561:3', 'test-session.R:184:3', 'test-session.R:210:3', 'test-session.R:240:3' • r-debug skill not installed yet (run devtools::install) (2): 'test-r-introspect-tools.R:411:3', 'test-r-introspect-tools.R:420:3' • {aisdk.channels} is not installed (3): 'test-console-agent.R:813:5', 'test-console-agent.R:863:5', 'test-console-agent.R:876:5' • {aisdk.skills} is not installed (3): 'test-console-agent.R:89:5', 'test-console-agent.R:106:5', 'test-console-agent.R:139:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-r-introspect-tools.R:359:3'): r_eval kills the whole process tree on timeout (no orphaned grandchildren) ── Expected `no_match` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE process tree was not fully reaped within 8s [ FAIL 1 | WARN 0 | SKIP 52 | PASS 7966 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [8s/8s] OK * checking HTML version of manual ... [11s/11s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR