我正在尝试使用CRAN上不可用的本地软件包。我确实尝试过使用devtools::install_github("youruser/yourpackage")
,但我一直收到错误消息:
Unhandled Exception: Child Task 586815173 failed: Error building image: Error fetching MY_LOCAL_PACKAGE source. <CRANPackageSource repo='http://cran.rstudio.org'> unable to satisfy package:MY_LOCAL_PACKAGE In addition: Warning message: In FUN(X[[i]], ...) : Package 'MY_LOCAL_PACKAGE ' was installed from sources; Packrat will assume this package is available from a CRAN-like repository during future restores Execution halted this error message