pkg_has_src: Does a source package have src/ directory?

View source: R/has_src.R

pkg_has_srcR Documentation

Does a source package have ⁠src/⁠ directory?

Description

If it does, you definitely need build tools.

Usage

pkg_has_src(path = ".")

Arguments

path

Path to package (or directory within package).


r-lib/pkgbuild documentation built on March 17, 2024, 10:24 p.m.