In our company, we use an internal repository CRAN-like build with functions from miniCRAN
, drat
and packrat
. Each one can help you with that. Our repository is only for internal packages and behind a proxy.
We also use an internal Gitlab to work on R packages and host code sources. It is also possible to install packages from there (in a similar way as install_github
from devtools
If possible for you, you can also host with drat
your repository online on github pages (or something like that).
Here is a similar discussion (oriented towards RStudio Connect)
@slopp announced further information on a project RStudio is working on. Will see !
Some useful links on this :
-
General solution from RStudio
https://support.rstudio.com/hc/en-us/articles/115000239587-Sharing-Internal-R-Packages -
Guide from packrat
Packrat: Reproducible package management for R