chk_workdir: Verify work directory

View source: R/chk_workdir.R

chk_workdirR Documentation

Verify work directory

Description

Verify if the dir is the work directory

Usage

chk_workdir(dir, top_dir = NULL, sub_dir = "myRepo")

Arguments

dir

a work directory; default to '/Users/user for Mac; "c:/tmp" for Windows

top_dir

a top or root directory; default to '/Users/user for Mac or getwd for other OS

sub_dir

a sub directory

Value

TRUE or FALSE

Author(s)

Hanming Tu

Examples

  f1 <- tempdir()
  r1 <- chk_workdir(f1)

TuCai/phuse documentation built on Sept. 2, 2022, 5:17 a.m.