This question already has an answer here:
这个问题已经有了答案:
- How should I deal with “package 'xxx' is not available (for R version x.y.z)” warning? 13 answers
- 我该如何处理“包装xxx”不可用(R版本x.y.z)“警告?”13个答案
I want to install the package "car" but it depends of a package "pbkrtest" I can't install :
我想要安装“car”,但它取决于一个包“pbkrtest”我不能安装:
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)******
错误:在安装包“car”警告时,不能使用依赖“pbkrtest”。软件包:安装包“car”有非零的退出状态安装。包(“pbkrtest”)将包安装到“/home/d9999/R/x86_64-redhat-linux-gnu-library/3.2”(“lib”是未指定的)安装警告。包:****包**“pbkrtest”不可用(R版本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)
R Studio版本:0.99.489 R版本3.2.2(2015-08-14)平台:x86_64- redhat-linuxgnu(64位)
1 个解决方案
#1
26
According to the CRAN page, the current version of the package pbkrtest
(v0.4.6) requires R v. 3.2.3 or higher.
根据CRAN页面,包pbkrtest (v0.4.6)的当前版本需要rv . 3.2.3或更高版本。
Depends: R (≥ 3.2.3)
取决于: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.
由于car依赖于pbkrtest,您需要将您的R版本升级到最新版本,以便使用这个包。
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.
或者,您可以安装一个旧版本的pbkrtest(0.4.4或更高版本),您可以在这里找到它。如果您不想或不能升级R,那么pbkrtest的0.4.5版本可能是一个不错的选择,因为这个版本将足以安装最新版本的car,并且它可以在您当前的R版本上运行,因为它只需要R v3.0.2或更高版本。
#1
26
According to the CRAN page, the current version of the package pbkrtest
(v0.4.6) requires R v. 3.2.3 or higher.
根据CRAN页面,包pbkrtest (v0.4.6)的当前版本需要rv . 3.2.3或更高版本。
Depends: R (≥ 3.2.3)
取决于: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.
由于car依赖于pbkrtest,您需要将您的R版本升级到最新版本,以便使用这个包。
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.
或者,您可以安装一个旧版本的pbkrtest(0.4.4或更高版本),您可以在这里找到它。如果您不想或不能升级R,那么pbkrtest的0.4.5版本可能是一个不错的选择,因为这个版本将足以安装最新版本的car,并且它可以在您当前的R版本上运行,因为它只需要R v3.0.2或更高版本。