Find the project root directory by traversing the current working directory filepath upwards until a given set of files is found.
Usage
getpd(root.files = c(".git", "DESCRIPTION", "NAMESPACE"))
Find the project root directory by traversing the current working directory filepath upwards until a given set of files is found.
getpd(root.files = c(".git", "DESCRIPTION", "NAMESPACE"))