batch_file_status | R Documentation |
Gets the current status (SUCCESS, FAILURE, REMAING) of each eligible file in path.
batch_file_status(path)
path |
A string of the path to the directory with the files for processing. |
A tibble with four columns:
A character vector indicating SUCCESS, FAILURE or REMAING
A hms vector of the file processing time
A character vector of the file name
A character vector of the error message (or NA if no error)
batch_log_read()
path <- tempdir()
write.csv(mtcars, file.path(path, "file1.csv"))
batch_config(function(x) TRUE, path, regexp = "[.]csv$")
batch_file_status(path)
batch_run(path, ask = FALSE)
batch_file_status(path)
batch_cleanup(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.