[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:34:00 CET 2020



On 2020-01-15 17:18, Gábor Csárdi wrote:
> Seems like you skipped step 1?
>
> "1. Create a new repo on GitHub: https://github.com/new. Give it the
> same name as your package, and include the package title as the repo
> description. Leave all the other options as is, then click Submit."
>
> Gabor


       Thanks.  I now have "https://github.com/sbgraves237/fda". Then I 
did "git push --set-upstream origin master", and it seemed to work.


       Thanks again.
       Spencer
>
> On Wed, Jan 15, 2020 at 11:15 PM Spencer Graves
> <spencer.graves using effectivedefense.org> wrote:
>> 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
>>
>> ______________________________________________
>> R-package-devel using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list