powered by
Check that a file can be created at a certain path.
check_can_create_file(filename, overwrite = TRUE)
Nothing. Will stop if a file cannot be created at a certain path.
file that may or may not be created
if TRUE, if filename already exists, it will be deleted by this function
filename
Richèl J.C. Bilderbeek
Will stop if not. Will stop if the file already exists. Does so by creating an empty file at the path, and then deleting it.
check_can_create_file("my_local_file.txt")
Run the code above in your browser using DataLab