release() assumes package root is git repository root #845
Current checks using
It seems to me that devtools should not require that the package root directory be the same as the git repository root directory. This is easily fixed by adding
r <- git2r::repository(path, discover=T)
Does this seem reasonable? I will add a pull request shortly.
The text was updated successfully, but these errors were encountered:
This fix adds 'discover=T' to git2r:repository() calls in order to allow devtools to locate the repository root directory when the package is in a subdirectory of the overall git repository. This change should address issue r-lib#845.