format_captured_execution: Format a captured execution result as text

View source: R/utils_capture.R

format_captured_executionR Documentation

Format a captured execution result as text

Description

Part of the companion-package extension API (used by aisdk.datatools).

Usage

format_captured_execution(
  captured,
  empty_message = "(Code executed successfully with no printed output)"
)

Arguments

captured

A list produced by capture_r_execution().

empty_message

Message to use when there was no printed output.

Value

A character string describing the captured execution.


aisdk documentation built on May 29, 2026, 9:07 a.m.