path_check: Check a path

View source: R/path_check.R

path_checkR Documentation

Check a path

Description

Accessory functions to check that a directory exists and the user have write permissions on it (to be used in a Shiny context)

Usage

path_check(path, mustbe_empty = FALSE, mustbe_writable = TRUE)

Arguments

path

string full path to a folder

mustbe_empty

logical if TRUE, accept only empty directories

mustbe_writable

logical if TRUE, accept only directories with write permissions

Author(s)

Luigi Ranghetti, phD (2019)

Lorenzo Busetto, PhD (2019)


sen2r documentation built on Nov. 10, 2023, 9:08 a.m.