document_end: Finish automatic run documentation

View source: R/documentation.R

document_endR Documentation

Finish automatic run documentation

Description

Flushes the buffered log entries assembled since the matching [document_start()] call and writes them to the configured text file. A SHA-256 hash of the written content is appended to the log so runs can be compared or referenced succinctly.

Usage

document_end()

Value

Invisibly returns the log file path with attribute 'hash' containing the SHA-256 digest of the run contents.


localLLM documentation built on Nov. 3, 2026, 1:09 a.m.