You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I confess: I created a git repo using sourcetree instead of git init or RStudio. Apparently this can lead to a repo in which the .git directory does not contains a hooks subdirectory. Even after you've made a commit. So when I attempt to use devtools::use_readme_rmd(), I hit this code in use_git_hook() and get Error: This project doesn't use git. Apparently there are otherways to have a valid git repo and yet NOT have a hooks subdirectory.
I admit this maybe a rare phenomenon. Not sure if a different error message is the way to go or just outright creation of hooks.
The text was updated successfully, but these errors were encountered: