find_root_from_object: Find a root from an object

Description Usage Arguments

View source: R/root.R

Description

Finds a root from either a file or a directory.

Usage

1
find_root_from_object(root_object, dir = ".", object_finder)

Arguments

root_object

A file or directory in a directory that qualifies the latter as a root.

dir

The directory to start the search from.

object_finder

A function that is applied to the root_object. If the root object is a file, use rprojroot::has_file(), if it is a directory, use rprojroot::has_dir().


lorenzwalthert/teamtools documentation built on Dec. 10, 2019, 2:11 a.m.