chk_workdir: Verify work directory

Description Usage Arguments Value Author(s) Examples

View source: R/chk_workdir.R

Description

Verify if the dir is the work directory

Usage

1
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

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

phuse documentation built on March 26, 2020, 6:31 p.m.