Skip to contents

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

Value

Logical vector of chunks that can be safely unnamed

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.)