checkIsPkgDir: Check if a directory contains package sources

checkIsPkgDirR Documentation

Check if a directory contains package sources

Description

Check if a directory contains package sources

Usage

checkIsPkgDir(dir)

Arguments

dir

The directory.

Details

Any directory containing a DESCRIPTION file as a direct child is considered a package source directory, while any that do not are not.

Value

Logical scalar indicating if the directory contains the source code for a package.


switchr documentation built on March 31, 2023, 5:13 p.m.