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)

krlmlr/styler documentation built on Dec. 12, 2024, 8:36 a.m.