pixiedust_print_method: Determine the Current Print Method

View source: R/pixiedust_print_method.R

pixiedust_print_methodR Documentation

Determine the Current Print Method

Description

The user has the option of designating the print method to use, or allowing package to select one from the knitr settings. This function manages the logic of assigning the correct print method within the dust call.

Usage

pixiedust_print_method()

Details

The function pixiedust_print_method first uses getOption("pixiedust_print_method") to determine if the user has set a print method. If the user has not, it then looks to knitr::opts_knit$get("rmarkdown.pandoc.to"). Finally, if this is also NULL, then the option is set to "console".


pixiedust documentation built on Oct. 10, 2023, 9:07 a.m.