分享

devtools::install

 微笑如酒 2020-01-05

devtools::install_github('royfrancis/pophelper')
Downloading GitHub repo royfrancis/pophelper@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/royfrancis/pophelper/tarball/master'

对于这个问题,大家可以试试下面的方法:

引自:https://github.com/r-lib/remotes/issues/130

如果还是不行,试试下面这个方法,把包下载到本地进行安装,我是用这种方法解决的:

输入

后面的royfrancis/pophelper可以根据自己的需求更改相应的作者名/包名.

然后进行本地安装:

例如在Rstudio里面:

就可以啦。

 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多