cleanTex: Remove Unwanted LaTeX files after building document

View source: R/cleanTex.R

cleanTexR Documentation

Remove Unwanted LaTeX files after building document

Description

Convenience function for cleaning up your directory after running pdflatex

Usage

cleanTex(fn, keepPDF = TRUE, keepRnw = TRUE, keepRproj = TRUE)

Arguments

fn

a filename for your .Rnw file

keepPDF

Logical. Should function save PDF files with filename fn. Default is TRUE.

keepRnw

Logical. Should function save Rnw files with filename fn. Default is TRUE.

keepRproj

Logical. Should function save .Rproj files with filename fn. Default is TRUE.

Value

Nothing. All files except the .tex, .pdf and .Rnw are removed from your directory.


eeptools documentation built on June 7, 2023, 5:06 p.m.