checkIsPkgDir {switchr}R 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.


[Package switchr version 0.14.8 Index]