Skip to content

R chunks

RChunk dataclass

A labelled R chunk extracted from a Python source file.

parse_r_chunks(path)

Parse labelled R fenced chunks from a Python source file.

parse_r_chunks_from_text(source, *, path)

Parse labelled R fenced chunks from source text.