Package dependencies when installing from source in R

前端 未结 4 1438
梦毁少年i
梦毁少年i 2020-12-03 03:13

Just confirming: If I distribute my R package as ZIP/TAR then installing the package will not automatically download/install dependencies because I have to set repos =

4条回答
  •  感动是毒
    2020-12-03 03:57

    You could make your own repository and set repos to be a vector of the places to look for packages, where it would start with your own repository and then include a link to a CRAN mirror. This is what I do and it works quite nicely, as then I can easily share my packages with others and update them from whatever computer I happen to be on.

提交回复
热议问题