Package dependencies when installing from source in R

前端 未结 4 1432
梦毁少年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:39

    The devtools package has a function install. If used on a directory containing the source code for an R package, it will install that package and download any dependencies from CRAN.

提交回复
热议问题