Skip to contents

S7 class representing an executable code chunk

Usage

rmd_chunk(
  engine = "r",
  name = "",
  options = list(),
  code = character(),
  indent = "",
  n_ticks = 3L
)

Arguments

engine

Character. Language engine

name

Character. Chunk name

options

List. Combined chunk options (traditional and YAML)

code

Character vector. Code lines

indent

Character. Indentation

n_ticks

Integer. Number of backticks