test_save_plot: deletes the file/plot if it exists, saves the plot, and...

View source: R/helpers.R

test_save_plotR Documentation

deletes the file/plot if it exists, saves the plot, and ensures it exists

Description

deletes the file/plot if it exists, saves the plot, and ensures it exists

Usage

test_save_plot(file_name, plot, size_inches = c(5, 8))

Arguments

file_name

path to save plot

plot

plot to save

size_inches

c(height, width) in inches


shane-kercheval/rtools documentation built on July 7, 2022, 8:31 a.m.