decorate: Builds a 'decorated' object from either a code chunk or a...

View source: R/decorate.R

decorateR Documentation

Builds a decorated object from either a code chunk or a string object containing source code.

Description

decorate does its best to guess if it has been given a code string or a chunk name, based on the presence of special characters.

Usage

decorate(x, ...)

Arguments

x

A string, containing either a chunk label or R code.

...

Chunk options to pass along

Value

A decorated object.

See Also

decorate_chunk, decorate_code


kbodwin/flair documentation built on Feb. 6, 2023, 4:24 p.m.