Currently use_readme_rmd() does ingest a pre commit Git hook into the package's local git repository. There are two problems resulting from this: (1) This hook also prevents updates of the repo when the Rmd-file is simply re-rendered (e.g. automatically obtained information is updated). (2) User are neither informed about the ingestion happening and have no possibility to prevent it.
This is related to the discussion found here https://github.com/r-lib/usethis/issues/312 and to that found here https://twitter.com/jeroenhjanssens/status/1075010648587886592.
I have forked this repo and will file a pull request with a possible solution that will ...
Given that no one else has reported any problems with it, and the complexity of your proposed solution, I would rather simply encouraging people to delete the hook if they find it annoying.
We could consider
Most helpful comment
We could consider