add_fusen_chunks: Add '{fusen}' chunks

View source: R/build_fusen_chunks.R

add_fusen_chunksR Documentation

Add {fusen} chunks

Description

Create {fusen} chunks inside your Rmd

Usage

add_fusen_chunks(
  function_name = NULL,
  export = getOption("fusen.export.functions")
)

Arguments

function_name

Name of the function to create. If NULL (the default), the user will be prompted to enter it.

export

Should the function be exported? Default is getOption("fusen.export.functions"). If NULL, the user will be prompted to enter it.

Value

A list with the context and the content, invisibly.

Examples

## Not run: 
add_fusen_chunks("this", export = TRUE)

## End(Not run)

fusen documentation built on Aug. 17, 2023, 5:09 p.m.