is.idempotent_directory: Whether or not a directory is an idempotent resource.

Description Usage Arguments Value Examples

Description

By definition, this means the directory contains a file with the same name (ignoring extension) as the directory.

Usage

1

Arguments

dir

character. The directory to check.

Value

TRUE or FALSE according as the directory is idempotent. There is no checking to ensure the directory exists.

Examples

1
2
3
4
5
6
## Not run: 
  # If we have a directory foo containing foo.R, then
  is.idempotent_directory('foo')
  # is TRUE, otherwise it's FALSE.

## End(Not run)

syberia/director documentation built on May 30, 2019, 10:40 p.m.