Issues installing car package in 3.5.3

I am trying to install the car package in to R, however it comes up with the follow error code:

Warning in install.packages :
  dependency ‘pbkrtest’ is not available

  There is a binary version available but the source version is later:
    binary source needs_compilation
car  3.0-7  3.0-8             FALSE

installing the source package ‘car’

trying URL 'https://cran.rstudio.com/src/contrib/car_3.0-8.tar.gz'
Content type 'application/x-gzip' length 499932 bytes (488 KB)
downloaded 488 KB

ERROR: dependency 'pbkrtest' is not available for package 'car'
* removing 'C:/Users/georg/OneDrive/Documents/R/win-library/3.5/car'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘car’ had non-zero exit status

Please can someone advise on how to resolve this issue? I have the latest version of R (3.5.3) and I have tried various things like updating packages, installing pbkrtest, but none of these options work. It seems that pbkrtest isn't available in the latest version of R.

Thanks,
Georgina

The most recent version of R is actually 4.0.0. And it appears that the pbrktest package requires R 3.6.0 or higher: https://cran.r-project.org/web/packages/pbkrtest/index.html

You can download the most recent version of R here: https://cloud.r-project.org/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.