Cannot install an R package from Github

前端 未结 2 1209
鱼传尺愫
鱼传尺愫 2020-12-10 07:23

I\'m trying to run devtools::install_github(\"gaborcsardi/notifier\") but R does not appear to be properly recognizing RTools; which is located in C:\\Rto

2条回答
  •  心在旅途
    2020-12-10 07:54

    There is a standalone mode in remotes. This mode removes the dependency on pkgbuild that was the proximate cause of the error (the ultimate problem is much deeper in the call chain).

    This is documented in the remotes package readme.

    You can force remotes to use the standalone mode with

    Sys.setenv(R_REMOTES_STANDALONE="true")
    

    This solution found thank to gaborcsardi

提交回复
热议问题