Start new R package development on github

前端 未结 3 1077
耶瑟儿~
耶瑟儿~ 2021-01-31 06:24

How do I create new repository on github using devtools in RStudio? I\'ve tried to:

  1. Create empty repository on github named \"MyNewRPackage\"
  2. Started new
3条回答
  •  梦谈多话
    2021-01-31 06:49

    You can specify the path to your github repository in create instead of the package name:

    create("/path/to/root/of/repository")
    

    Then the normal git commands to add, commit and push to github:

    git commit -a -m "initial commit" *
    git push
    

提交回复
热议问题