find_config: Find config file in a parent directory

View source: R/utils.R

find_configR Documentation

Find config file in a parent directory

Description

Search all parent directories of a given directory and return the path to the first file found with a given name.

Usage

find_config(file_name, dir_path = getwd(), regex = FALSE)

Arguments

file_name

The name of the file.

dir_path

The directory to start the search from. Defaults to current working directory.

regex

TRUE/FALSE. Is the file_name option a regular expression?


grunwaldlab/oomycetedbtools documentation built on March 23, 2022, 6:54 a.m.