backports (version 1.1.4)

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

Description

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

Usage

dir.exists(paths)

Arguments

Examples

Run this code
# NOT RUN {
# 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())
# }

Run the code above in your browser using DataCamp Workspace