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.Dismiss alert
I cleared out my R/RStudio/Git setup to try to see what new users see, to help R4DS users get up to speed. I accidentally skipped the usethis::use_git_config(user.name = "Jane Doe", user.email = "jane@example.org") step, and was somewhat surprised to find that git_sitrep() failed rather than telling me about it. It's POSSIBLE this happened due to something being half-set somewhere (it's surprisingly hard to clear out every setting for everything everywhere), but I'm PRETTY sure this could be common.
This causes an error in pat_sitrep() in the emails section, because de_facto_email is NULL.
Maybe add something toward the beginning of git_sitrep() to error with a message telling the user to run use_git_config()?
I cleared out my R/RStudio/Git setup to try to see what new users see, to help R4DS users get up to speed. I accidentally skipped the
usethis::use_git_config(user.name = "Jane Doe", user.email = "jane@example.org")
step, and was somewhat surprised to find thatgit_sitrep()
failed rather than telling me about it. It's POSSIBLE this happened due to something being half-set somewhere (it's surprisingly hard to clear out every setting for everything everywhere), but I'm PRETTY sure this could be common.This causes an error in
pat_sitrep()
in the emails section, becausede_facto_email
is NULL.Maybe add something toward the beginning of
git_sitrep()
to error with a message telling the user to runuse_git_config()
?Created on 2022-11-30 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: