[R-pkg-devel] How to create a new project on GitHub?

Spencer Graves @pencer@gr@ve@ @end|ng |rom e||ect|vede|en@e@org
Thu Jan 16 00:15:21 CET 2020


Hello, All:


       How can I create a new project within my GitHub account 
(https://github.com/sbgraves237/)?


       I'm trying to follow "http://r-pkgs.had.co.nz/git.html":


...
Synchronising with GitHub
...

     Open a shell, then follow the instructions on the new repo page. 
They’ll look something like this:

     git remote add origin git using github.com:hadley/r-pkgs.git
     git push -u origin master

I tried:

...$ git remote add origin git using github.com:sbgraves237/fda.git
...$ git push -u origin master
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


*** That didn't work, so I tried


...$ git remote add origin https://[my ssh code]@github.com/sbgraves237/fda
fatal: remote origin already exists.
...$ git push -u origin master
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


       *** What do I need to do to fix the mess I seem to have created 
and get what I want?


       *** Thanks, Spencer Graves


p.s.  If you know the fda package, you know that James Ramsay is the 
primary author, and I'm one of his long-time collaborators.  He has a 
new version he wants to clean up and submit to CRAN, and I'm trying to 
help him.  Thanks.  sg



More information about the R-package-devel mailing list