util_iframe_it_if_needed: Make 'it' scalable, if it is a figure

View source: R/util_iframe_it_if_needed.R

util_iframe_it_if_neededR Documentation

Make it scalable, if it is a figure

Description

this function writes figures to helper files and embeds these in a returned object which is a scalable iframe. it does not change other objects in it.

Usage

util_iframe_it_if_needed(it, dir, nm, fkt)

Arguments

it

htmltools::tag() compatible object

dir

character output directory for potential iframes.

nm

character name for the iframed file, if one is created

fkt

character function name of the indicator function that created ìt.

Value

htmltools::tag() compatible object, maybe now in an iframe


dataquieR documentation built on May 29, 2024, 7:18 a.m.