huxtable (version 0.2.1)

guess_knitr_output_format: Guess knitr output format

Description

Convenience function which tries to guess the ultimate output from knitr and rmarkdown.

Usage

guess_knitr_output_format()

Arguments

Value

'html', 'latex', or something else. If we are not in a knitr document, returns an empty string.

Examples

Run this code
## Not run: ------------------------------------
# # in a knitr document
# guess_knitr_output_format()
## ---------------------------------------------

Run the code above in your browser using DataCamp Workspace