简体   繁体   English

无法安装 panelr package

[英]Failing to install panelr package

I am failing to read in the panelr package from the library.我无法阅读图书馆的 panelr package。 I used the package utilising its wbm() function on some panel data earlier this year and I have even tried to install it and I get this message: Warning in install.packages: package 'panelr' is not available (for R version 3.6.3).今年早些时候,我在一些面板数据上使用了 package,利用它的 wbm() function,我什至尝试安装它,我收到这条消息:安装包中的警告:package 'panelr' 不可用(对于 R 版本 3.6. 3).

Has the package been removed? package 被删除了吗? Kindly assist on how I can install it or the new version of it.请协助我如何安装它或它的新版本。

If we want a specific version, use the versions package如果我们想要特定版本,请使用versions package

install.packages('versions')

Then use然后使用

library(versions)
install.versions('panelr', '0.7.3')

If that version is not available in the MRAN repo, check the available versions with如果该版本在 MRAN 存储库中不可用,请使用以下命令检查可用版本

available.versions('panelr')

If there are no versions available, then it returns an error.如果没有可用的版本,则返回错误。 In that case, an option is to download the archived tar file from https://cran.r-project.org/src/contrib/Archive/panelr/ and then use install.packages to with source = TRUE在这种情况下,一个选项是从https://cran.r-project.org/src/contrib/Archive/panelr/下载存档的 tar 文件,然后使用install.packagessource = TRUE

install.packages('path/to/.../...tar.gz', source = TRUE, repos = NULL)

Regarding your other question: Yes, it seems as it has been removed .关于您的另一个问题:是的,它似乎已被删除

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM