clean_up: clean_up helper function

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Internal function to clean up directories.

Usage

1
clean_up(plotdir, csvdir)

Arguments

plotdir

A character string. Path to the folder, where plots are saved.

csvdir

A character string. Path to the folder, where resulting tables are saved.

Value

This function silently cleans up the current session and removes both, the 'plotdir'- and the 'csvdir'-folders. It furthermore resets the 'future'-backend to plan = "sequential".

See Also

plan

Examples

1
2
3
4
plotdir <- paste0(tempdir(), "/plots/")
csvdir <- paste0(tempdir(), "/csv/")

clean_up(plotdir, csvdir)

rBiasCorrection documentation built on Aug. 4, 2021, 9:08 a.m.