R Under development (unstable) (2026-05-28 r90085 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") > 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 'D:/temp/2026_05_29_22_05_16_31345/RtmpaWyQFg/console-startup-31bba0555457e9/.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: [] -- 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 0 | WARN 0 | SKIP 54 | PASS 7961 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • 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' • On Windows (2): 'test-r-introspect-tools.R:75:3', 'test-r-introspect-tools.R:329:3' • r-debug skill not installed yet (run devtools::install) (2): 'test-r-introspect-tools.R:417:3', 'test-r-introspect-tools.R:426: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' [ FAIL 0 | WARN 0 | SKIP 54 | PASS 7961 ] > > proc.time() user system elapsed 59.60 8.48 82.82