dt_2_viewer: DT to Viewer

View source: R/reviewr_dev.R

dt_2_viewerR Documentation

DT to Viewer

Description

Save a temporary DT::datatable as a self contained HTML file to display in the RStudio Viewer Pane. Used to provided users with choices when prompted for action by a dev function.

Usage

dt_2_viewer(.data, file = NULL)

Arguments

.data

A dplyr::tibble containing the desired data to save

file

Optional. Manually define file path (with .html extension) for HTML representation of DT

Value

This function returns a temporary HTML file displayed in the RStudio Viewer Pane


ReviewR documentation built on Sept. 1, 2023, 5:08 p.m.