Description Usage Arguments Value See Also Examples
Tests whether directory contains configuration file created by batch_config()
.
1 | batch_is_clean(path, recurse = FALSE)
|
path |
A string of the path to the directory with the files for processing. |
recurse |
A flag specifying whether to recurse into path's subdirectories. |
A flag specifying whether the directory is clean.
1 2 3 4 5 6 7 8 | path <- tempdir()
batch_is_clean(path)
write.csv(mtcars, file.path(path, "file1.csv"))
batch_config(function(x) TRUE, path, regexp = "[.]csv$")
batch_is_clean(path)
batch_cleanup(path, force = TRUE, remaining = TRUE)
batch_is_clean(path)
unlink(file.path(path, "file1.csv"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.