find_blank_lines_to_next_block: Number of lines between cache blocks

View source: R/transform-block.R

find_blank_lines_to_next_blockR Documentation

Number of lines between cache blocks

Description

This is relevant when putting expressions together into a block and preserve blank lines between them. Note that because code does not need to start on line 1, the first element of the output is the number of lines until the first block.

Usage

find_blank_lines_to_next_block(pd)

Arguments

pd

A top-level nest.


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