Package dependencies when installing from source in R

前端 未结 4 1431
梦毁少年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 04:00

    If you have a Github account myname, push your R package to a repo mypackage. Then just call devtools::install_github("myname/mypackage"). Package mypackage will be downloaded and installed as will all the dependencies listed under Imports in the DESCRIPTION file.

提交回复
热议问题