clean_up {rBiasCorrection}R Documentation

clean_up helper function

Description

Internal function to clean up directories.

Usage

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

plotdir <- paste0(tempdir(), "/plots/")
csvdir <- paste0(tempdir(), "/csv/")

clean_up(plotdir, csvdir)


[Package rBiasCorrection version 0.3.4 Index]