sew.knitxl_output_text: Extend 'knitr::sew()' generic to write text, vectors and data...

View source: R/sew.R

sew.knitxl_output_textR Documentation

Extend knitr::sew() generic to write text, vectors and data table to the output .xlsx file.

Description

These functions are called within knitr::knit() to write either text vector or a table into the output .xlsx file produced by knitxl().

Usage

## S3 method for class 'knitxl_output_text'
sew(x, options, ...)

## S3 method for class 'knitxl_output_vector'
sew(x, options, ...)

## S3 method for class 'knitxl_output_data_frame'
sew(x, options, ...)

Arguments

x

Output from evaluate::evaluate().

options

A list of chunk options used to control output.

...

Other arguments to pass to methods.

Value

Invisibly returns NULL.


knitxl documentation built on April 18, 2023, 5:08 p.m.