cleanup_latex_files: Clean up LaTeX files created by exportLatex

View source: R/cleanup-latex.R

cleanup_latex_filesR Documentation

Clean up LaTeX files created by exportLatex

Description

This function removes LaTeX files that are typically created by the exportLatex() function. It's designed to be used after exportLatex() calls to clean up temporary files.

Usage

cleanup_latex_files(dir = ".", outname = "", verbose = FALSE)

Arguments

dir

Directory where LaTeX files are located (default: current directory)

outname

Prefix for the LaTeX files (default: empty string)

verbose

If TRUE, print messages about which files were removed

Value

Invisibly returns a logical vector indicating which files were successfully removed

Examples

## Not run: 
# After calling exportLatex()
exportLatex(vim)
cleanup_latex_files()

# With custom directory and prefix
exportLatex(vim, outname = "myresults_", dir = "output/")
cleanup_latex_files(dir = "output/", outname = "myresults_")

## End(Not run)


ck37/varImpact documentation built on June 11, 2025, 8:42 a.m.