file.exists2: slightly more robust test for whether file exists

View source: R/package.R

file.exists2R Documentation

slightly more robust test for whether file exists

Description

test whether file exists. "/dev/null", NA, "NA", "NULL", values excluded by default.

Usage

file.exists2(x, nullfile = "/dev/null", bad = c(NA, "NA", "NULL", ""))

Arguments

x

a character vector

Value

logical

Author(s)

Kevin Hadi


kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.