R: Identify spinning code chunk header

is_code_chunk_header {styler} | R Documentation

## Identify spinning code chunk header

### Description

See https://yihui.name/knitr/demo/stitch/#spin-comment-out-texts for details.

### Usage

    is_code_chunk_header(pd)

### Arguments

`pd` | A parse table.

### Examples

    style_text(c(
      "# title",
      "some_code <- function() {}",
      "#+ chunk-label, opt1=value1",
      "call(3, 2, c(3:2))"
      ))

[Package styler version 1.0.2 Index]