check_chunk_codefig: Check for codefig chunks

View source: R/chunk_processing.R

check_chunk_codefigR Documentation

Check for codefig chunks

Description

Check to see which chunks do not have codefig in their label

Usage

check_chunk_codefig(chunk_name = chunk_name)

Arguments

chunk_name

Chunk options vector

Details

We want to make sure chunks relying on fig_chunk() remain named, so we don't re-name them and then break the label that allows left-code / right-plot slides to be constructed. By design every fig_chunk() dependent chunk should have codefig in its label. (This is managed via snippets.)

Value

Logical vector of chunks that can be safely unnamed


kjhealy/kjhslides documentation built on Dec. 30, 2024, 10:30 p.m.