dir.exists: Backport of dir.exists for R < 3.2.0

View source: R/dir.exists.R

dir.existsR Documentation

Backport of dir.exists for R < 3.2.0

Description

See the original description in base::dir.exists.

Usage

dir.exists(paths)

Examples

# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_dir.exists = getFromNamespace("dir.exists", "backports")

bp_dir.exists(tempdir())

backports documentation built on June 24, 2024, 5:24 p.m.