functionMap (version 1.0.0)

check_pkg_dir: Check if a path is an R package root directory

Description

Check if a path is an R package root directory

Usage

check_pkg_dir(path = ".")

Arguments

path
Path to the alleged package root.

Details

It must have:
  • `DESCRIPTION`
  • `NAMESPACE`
  • A non-empty `R` folder.