Open the HTML TFL Specification Preview in the RStudio Viewer
Source:R/spec_print.R
view_tfl_spec.RdRenders a comprehensive HTML overview of a TFL specification and displays it in the RStudio Viewer pane. Requires RStudio and the htmltools package.
Value
TRUE invisibly on success, FALSE invisibly if the viewer could
not be opened (e.g. not running inside RStudio or htmltools is
missing).
See also
create_table(), tfl_spec_preview_selection() (RStudio addin
wrapping this preview for the selected object)
Examples
if (FALSE) { # \dontrun{
# Inside RStudio: opens the HTML spec overview in the Viewer pane
spec <- create_table(mtcars) |> add_title("Table 1")
view_tfl_spec(spec)
} # }