% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run_covr_skip_runit_nstf.R
\name{is_runit_layout}
\alias{is_runit_layout}
\title{Detect if a package uses RUnit layout (BioC or RUnit-only)}
\usage{
is_runit_layout(pkg_source_path, test_pkg_data = NULL)
}
\arguments{
\item{pkg_source_path}{Character. Path to package source root.}

\item{test_pkg_data}{List or NULL. Output from check_pkg_tests_and_snaps().}
}
\value{
Logical. TRUE if the package uses RUnit layout.
}
\description{
Returns TRUE when the package has RUnit tests in inst/unitTests (with or without
the BiocGenerics .test() runner). Heuristics:
 - test_pkg_data$has_BioG_test (BioC full layout), OR
 - test_pkg_data$has_RUnit_test (inst/unitTests, no .test required), OR
 - inst/unitTests exists, OR
 - tests/run_unitTests.R exists
}
\keyword{internal}
