File: is_package_path.Rd

package info (click to toggle)
r-cran-pkgmaker 0.32.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,192 kB
  • sloc: sh: 13; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (2)
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}