remove_file_if_present {beastier}R Documentation

Remove a file if it is present, will do nothing if it is not.

Description

Remove a file if it is present, will do nothing if it is not.

Usage

remove_file_if_present(filename)

Arguments

filename

name of a file

Value

Nothing. Will remove the file if it is presented, will do nothing if it is not.

Author(s)

Richèl J.C. Bilderbeek

Examples

filename <- tempfile()
file.create(filename)
remove_file_if_present(filename)
remove_file_if_present(filename)

[Package beastier version 2.5.1 Index]