find_file_along_path: Goes up path component and looks for the file_name in each...

View source: R/find_along_path.R

find_file_along_pathR Documentation

Goes up path component and looks for the file_name in each directory.

Description

Goes up path component and looks for the file_name in each directory.

Usage

find_file_along_path(my_path, file_name)

Arguments

my_path

character string path to search along

file_name

character string to search for, will match partial file names and return first match if multiple are found

Value

Path to the file if it's along the path provided


Benjamin-Vincent-Lab/housekeeping documentation built on Feb. 17, 2024, 2:13 a.m.