transform_mixed_non_empty: Ensure for '.Rmd' and friends that a code chunk without code...

View source: R/transform-code.R

transform_mixed_non_emptyR Documentation

Ensure for .Rmd and friends that a code chunk without code is formatted as a code chunk without any lines.

Description

Ensure for .Rmd and friends that a code chunk without code is formatted as a code chunk without any lines.

Usage

transform_mixed_non_empty(r_chunk, transformer_fun)

styler documentation built on Aug. 29, 2023, 5:10 p.m.