usethis
usethis copied to clipboard
Should be clearer when cancelling
> use_git()
✔ Setting active project to "/Users/hadleywickham/Desktop/knitr-error".
✔ Initialising Git repo.
✔ Adding ".Rhistory", ".Rdata", ".httr-oauth", ".DS_Store", and ".quarto" to
.gitignore.
ℹ There are 4 uncommitted files:
• .gitignore
• knitr-error.Rproj
• manifest.json
• test.qmd
! Is it ok to commit them?
1: Not now
2: Yeah
3: Absolutely not
Selection: 1
It took me a while to notice that this had failed because I accidentally typed 1 instead of 2.
This would require some thought because the underlying helpers (ui_yep() and ui_nah()) are used lots of places (probably 20-30) and I don't think we would always want to do more than we're doing now. Nor would we always want to say the same thing in response to a particular choice.
I think we could reliably say "Terminating execution" or similar though.