Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to create a project on Windows #43

Closed
maelle opened this issue Jun 25, 2018 · 7 comments
Closed

Not able to create a project on Windows #43

maelle opened this issue Jun 25, 2018 · 7 comments

Comments

@maelle
Copy link
Contributor

maelle commented Jun 25, 2018

cf r-lib/whoami#4

@annakrystalli
Copy link
Collaborator

Related to issue noted in #25 by @tdjames1. @tdjames1, out of curiosity, what does system("git config --global --list", intern = TRUE) return on your machine?

@tdjames1
Copy link

Hey @annakrystalli, here's the abbreviated output:

> system("git config --global --list", intern = TRUE)
[1] "user.name=T***** James"                                                                                                                                      
[2] "user.email=t*****@***********"                                                                                        
[3] "core.editor=emacs"   
<snip>

@maelle
Copy link
Contributor Author

maelle commented Jun 25, 2018

so does whoami::email_address() work on your machine?

@tdjames1
Copy link

Yes. 👍

@maelle
Copy link
Contributor Author

maelle commented Jun 25, 2018

Ok, is the email address you registered on GitHub?

@tdjames1
Copy link

Yes, but it is set as private. I figured that was why whoami::gh_username() couldn't find me so (as noted in #25) I tried setting up an authorization token to allow access to my email address (via GitHub > Settings > Developer settings > Personal access tokens) but that didn't resolve the problem.

@maelle
Copy link
Contributor Author

maelle commented Nov 13, 2018

@tjames1 now you can set an environment variable GITHUB_USERNAME cf https://github.com/r-lib/whoami

@maelle maelle closed this as completed Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants