View source: R/delete_old_plots.R
rremove_unused_plots | R Documentation |
This function identifies and removes PDF plots in the specified plot directory that are not referenced by any R scripts in the specified code directory.
rremove_unused_plots(code_dir, plot_dir)
code_dir |
The directory containing the R code files. |
plot_dir |
The directory containing the PDF plot files. |
A character vector of the plots that were deleted.
remove_unused_plots(
code_dir = "path/to/code/directory",
plot_dir = "path/to/plot/directory"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.