1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/project.R
\name{is_package_path}
\alias{is_package_path}
\title{Test for Package Root Directory}
\usage{
is_package_path(x, error = FALSE)
}
\arguments{
\item{x}{path to the directory to test}
\item{error}{logical that indicates if an error should be raised
if the directory is not a package directory.}
}
\description{
Tells if a directory is a package directory, i.e. that it contains
a \code{DESCRIPTION} file.
}
\keyword{internal}
|