Skip to main content

Module chunk_options

Module chunk_options 

Source
Expand description

Chunk option value classification for Quarto/RMarkdown code blocks.

This module distinguishes between simple literal values (booleans, numbers, strings) and complex R expressions (function calls, variables, etc.) to determine which chunk options can be safely converted to hashpipe format.

Enums§

ChunkOptionValue
Classification of chunk option values for conversion to hashpipe format.

Functions§

classify_value
Classify a chunk option value as either simple (convertible) or expression (skip).
hashpipe_comment_prefix
Get hashpipe comment prefix for a code chunk language.
is_boolean_literal
Check if a string is an R boolean literal.
is_numeric_literal
Check if a string is a numeric literal.
is_quoted_string
Check if a string is a quoted string literal.