ggwrite_names: Resolve all output file names for ggwrite

View source: R/ggwrite.R

ggwrite_namesR Documentation

Resolve all output file names for ggwrite

Description

Internal function that generates all combinations of file formats and canvas sizes for ggwrite. Returns a data.table with columns: format, name.canvas, width, height, name.file.canvas, row.

Usage

ggwrite_names(file, formats, canvas)

Arguments

file

Character string, base file name

formats

Character vector of file formats ("png", "pdf")

canvas

Canvas size specification (see canvasSize)

Value

A data.table with one row per format-canvas combination


tracee documentation built on Nov. 24, 2026, 5:07 p.m.