I have developed an R package that I would like to share with other people from my group. For now, it has to be kept private, so I can't submit it to CRAN. When installing with install.packages('package.tar.gz', repos = NULL, type="source")
it does not download and install the packages from CRAN because repos is NULL
. https://stackoverflow.com/a/5805149/651779 gives a method by making my own repository. However, I don't have access to a server to share my own made repository with other people.
Is there a way to automatically download and install all the dependencies from CRAN when installing from source, without making your own directory?