is_package_path: Test for Package Root Directory

View source: R/project.R

is_package_pathR Documentation

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.


pkgmaker documentation built on May 3, 2023, 5:08 p.m.