Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)

like image 487
tal29 Avatar asked Feb 04 '16 17:02

tal29


1 Answers

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.

like image 78
RHertel Avatar answered Oct 14 '22 05:10

RHertel