check_file_presence: Detect the presence of a file within folders

View source: R/check_file_presence.R

check_file_presenceR Documentation

Detect the presence of a file within folders

Description

Detect the presence of a file within folders

Usage

check_file_presence(x, path = getwd())

Arguments

x

String with the full or partial file name

path

Defaults to current directory, can be set to any directory

Value

TRUE if file is present, FALSE otherwise

Examples

x <-  "file.csv"
check_file_presence(x)

moraessaur/organizr documentation built on Dec. 1, 2022, 12:39 p.m.