.code_to_card: Builds teal_card from code and outputs in qenv object
Description
Builds a teal_card from the code and outputs of a teal_data
object, preserving the order of code execution and output display.
Usage
.code_to_card(x, code_block_opts = list())
Value
A teal_card built from the code and outputs in a qenv object.
Arguments
- x
(list) object from qenv@code.
- code_block_opts
(list) Additional options for the R code chunk in R Markdown.