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)

r-lib/styler documentation built on Dec. 13, 2024, 5:42 p.m.