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

Description Usage Examples

View source: R/dir.exists.R

Description

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

Usage

1
dir.exists(paths)

Examples

1
2
3
4
5
# 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 Dec. 13, 2021, 5:08 p.m.