How do I create new repository on github using devtools in RStudio? I've tried to:
- Create empty repository on github named "MyNewRPackage"
- Started new project in RStudio using ssh connection to my git repository
- Installed and loaded devtools
Then I thought I will use create("MyNewRPackage")
to initialize directory structure and README.md
file. But the package skeleton is created as subfolder of my project and I have ~/MyNewRPackage/MyNewRPackage/R
. But I need to create package skeleton in the root folder of my github repository.
What is the standard way to start new R package development on github using devtools and RStudio?