Check if file is writable.

is_file_writable(file = "")

Arguments

file

(character) Path to file.

Value

Logical. If FALSE it means that file is busy, locked or open.