non-zero exit status - installing from tar.gz

I tried to install car package.

ERROR: dependency ‘pbkrtest’ is not available for package ‘car’

  • removing ‘/had/home/a115505/R/x86_64-pc-linux-gnu-library/3.5/car’
    Warning in install.packages :
    installation of package ‘car’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpAWEKKZ/downloaded_packages’

Then I tried to install 'pbkrtest' package

install.packages('pbkrtest')
Warning in install.packages :
package ‘pbkrtest’ is not available (for R version 3.5.0)

So, I tried to install an older version of this package from tar.gz file

install.packages("./pbkrtest_0.4-4.tar.gz/", repos = NULL, type ='source')
Warning: invalid package ‘./pbkrtest_0.4-4.tar.gz/’
Error: ERROR: no packages specified
Warning in install.packages :
installation of package ‘./pbkrtest_0.4-4.tar.gz/’ had non-zero exit status

install.packages("pbkrtest")

won't work until you upgrade R to at least 3.6.0

Depends: R (>= 3.6.0), lme4 (>= 1.1.10)

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

That's why I tried to install an older version

Ah. My bad. Since I've never had to downversion myself, am I right that upgrading to 3.6 isn't an option?

For installing older versions you can use remotes::install_version() but I agree with technocrat that upgrading R would be the best way to go.