I've used this tutorial to create R project and upload it to my Git repository. Now I want to publish this project on a OpenCPU server. As it's said here, "any R package on Github can be used remotely on OpenCPU through the /ocpu/github/ API."
library(devtools)
install_github("user/repository")
However, RStudio says that R package cannot be found. As far as I understand, in the first step I had to create R Package instead of R project. But if I do so, I don't know how to upload it to Git.
Any step-by-step tutorial would be highly appreciated. Please consider that this is the first time I am realizing this procedure.