package ‘pbkrtest’ is not available (for R version 3.2.2) [duplicate]

血红的双手。 提交于 2019-11-27 03:14:13

问题


I want to install the package "car" but it depends of a package "pbkrtest" I can't install :

ERROR: dependency ‘pbkrtest’ is not available for package ‘car’ Warning in install.packages : installation of package ‘car’ had non-zero exit status install.packages("pbkrtest") Installing package into ‘/home/d9999/R/x86_64-redhat-linux-gnu-library/3.2’ (as ‘lib’ is unspecified) Warning in install.packages : ****package **‘pbkrtest’ is not available (for R version 3.2.2)******

Do you have an idea ?

R Studio version : 0.99.489 R version 3.2.2 (2015-08-14) Platform: x86_64-redhat-linux-gnu (64-bit)


回答1:


According to the CRAN page, the current version of the package pbkrtest (v0.4.6) requires R v. 3.2.3 or higher.

Depends: R (≥ 3.2.3)

Since car depends on pbkrtest, you need to upgrade your R version to the latest version in order to use this package.

Alternatively, you can install an older version of pbkrtest (0.4.4 or higher), which you can find here. Version 0.4.5 of pbkrtest could be a good choice if you don't want to or cannot upgrade R, because this version would be sufficient to install the latest version of car, and it could operate on your current R version since it requires only R v3.0.2 or higher.



来源:https://stackoverflow.com/questions/35207624/package-pbkrtest-is-not-available-for-r-version-3-2-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!