Working on first package ever.
Using the usethis workflow as described by Emil Hvitfelt
Project seems ok.
R> proj_sitrep()
- working_directory: '/Users/peterhiggins/Documents/Rcode/medicaldata'
- active_usethis_proj: '/Users/peterhiggins/Documents/Rcode/medicaldata'
- active_rstudio_proj: '/Users/peterhiggins/Documents/Rcode/medicaldata'
stuck on GitHub connection
I have an account with repos, I have a PAT.
but
R> git_sitrep()
Git user
- Name: 'Peter Higgins'
- Email: 'higgi13425@yahoo.com'
- Vaccinated: TRUE
usethis + git2r - Default usethis protocol: 'https'
- git2r supports SSH: FALSE
- Credentials: '<usethis + git2r default behaviour>'
GitHub - Personal access token: ''
- User: 'higgi13425'
- Name: 'Peter Higgins'
Repo - Path: '/Users/peterhiggins/Documents/Rcode/.git'
- Local branch -> remote tracking branch: '' -> ''
GitHub pull request readiness
This repo has neither 'origin' nor 'upstream' remote on GitHub.com.
and
R> use_github()
Checking that current branch is 'master'
Error: Detached head; can't continue
Not sure how to get past this problem.
Ideas welcome.
and any explanation of how I borked this also welcome.
thanks!