chunks_info: Chunks info

View source: R/doc_struc_functions.r

chunks_infoR Documentation

Chunks info

Description

Get information about chunks in a rnw file

Usage

chunks_info(file = NULL, all = FALSE)

Arguments

file

file of interest ( = source_file by default)

all

if TRUE some extra chunk info will be given

Value

A data frame with variables

  • name: name of chunk (if any)

  • row: start row

  • n.row: number of rows

  • stop: end line of chunk

  • eval.arg: (if all = TRUE) if there is an argument specified for eval

  • code: (if all = TRUE) the code in the chunk


renlund/proh documentation built on March 25, 2023, 10:07 a.m.