find_package_root: Find package root directory

View source: R/utils.R

find_package_rootR Documentation

Find package root directory

Description

Traces parent directories until we find a pacakge root

Usage

find_package_root(path = ".")

Arguments

path

(character[1]) A file path within a package.

Value

(character[1]) The file path to the package root directory.


roxytypes documentation built on Oct. 16, 2024, 1:06 a.m.