check_can_create_file: Check that a file can be created at a certain path.

View source: R/check_can_create_file.R

check_can_create_fileR Documentation

Check that a file can be created at a certain path.

Description

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.

Usage

check_can_create_file(filename, overwrite = TRUE)

Arguments

filename

file that may or may not be created

overwrite

if TRUE, if filename already exists, it will be deleted by this function

Value

Nothing

Author(s)

Richèl J.C. Bilderbeek


netmhc2pan documentation built on Nov. 9, 2023, 1:08 a.m.