Learn R Programming

envDocument (version 2.4.1)

getRepo: Locate the git repository where a file is tracked

Description

getRepo looks the up the repository for a file and makes sure path is tracked in repo. Repositories are searched from the file directory up using discover_repository

Usage

getRepo(testPath = NA)

Arguments

testPath

Path to a file to find/check repo