clean: Clean (delete) all build output including knitr cache and...

View source: R/utils-clean.R

cleanR Documentation

Clean (delete) all build output including knitr cache and knitr figures directories from the current directory

Description

Clean (delete) all build output including knitr cache and knitr figures directories from the current directory

Usage

clean(..., knitr_figures_dir = "knitr-figs", knitr_cache_dir = "knitr-cache")

Arguments

...

Optional quoted or unquoted names of chunks that should be 'cleaned'.The chunk name(s) will be used to delete only the objects relating to them from the knitr_figures_dir and knitr-cache.as well as all the LaTeX and intermediate RMD and MD files

knitr_figures_dir

Directory where the knitr-generated figures reside

knitr_cache_dir

Directory where the knitr cached chunk databases reside

Details

This function will clean the current working directory. It works from within the main doc directory as well as in all the beamer presentation directories. If you are testing with gotest() and are in a temporary directory, in the subdirectory doc, the cleaning will be applied there.

Value

Nothing


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.