Hello All ,
This is first time creating a package I am getting this error , before pushing it to Git , I am doing this on my personnel laptop , can you help me what to do next ?
use_readme_rmd( )
√ Setting active project to 'C:/Users/tatav/OneDrive/Documents/teaster1122'
√ Writing 'README.Rmd'
√ Adding '^README.Rmd$' to '.Rbuildignore'
- Modify 'README.Rmd'
√ Writing '.git/hooks/pre-commit'
use_github(protocol = "https")
√ Checking that current branch is 'master'
Error: No GitHub auth_token
is available.
See browse_github_token()
for help storing a token as an environment variable.
browse_github_token()
√ Opening URL 'https://github.com/settings/tokens/new?scopes=repo,gist,user:email&description=R:GITHUB_PAT'
- Call
usethis::edit_r_environ()
to open '.Renviron'. - Store your PAT (personal access token) with a line like:
GITHUB_PAT=xxxyyyzzz
- Make sure '.Renviron' ends with a newline!