pkgmaker (version 0.32.2)

is_package_path: Test for Package Root Directory

Description

Tells if a directory is a package directory, i.e. that it contains a DESCRIPTION file.

Usage

is_package_path(x, error = FALSE)

Arguments

x

path to the directory to test

error

logical that indicates if an error should be raised if the directory is not a package directory.