check_path: check if a path is an exisiting file or directory

Description Usage Arguments

Description

check if a path is an exisiting file or directory

Usage

1
check_path(path, type = c("file", "directory"), error = TRUE)

Arguments

path

the path of the directory or file name

type

either "file" or "directory"

error

When TRUE (default), the function returns an error when a variable is missing. Otherwise it returns a warning.


inbo/n2khelper documentation built on May 18, 2019, 4:49 a.m.