Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix use_readme_rmd() so that a pre-commit hook is registered if pkg uses git #41
Following up on r-lib/devtools#1512
AFAICT, this small bug meant that the registration of the pre-commit hook was never triggered because the file path was not properly constructed.
I couldn't figure out how you are planning to test usethis, so I haven't ported the unit test from the original PR. Will do it if you can point me in the right direction.
I resolved the conflicts here and this PR works for me now.
Here's how to grant me permission to add commits to your PR: