R: Guess knitr output format

guess_knitr_output_format {huxtable} | R Documentation

## Guess knitr output format

### Description

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

### Usage

    guess_knitr_output_format()

### Value

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

### Examples

    ## Not run:
    # in a knitr document
    guess_knitr_output_format()

    ## End(Not run)

[Package huxtable version 4.2.0 Index]