Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on November 3, 2021 2:56PM
Likes: 0
Replies: 4
Hi,
I would like install "car" package on my new R code env but I obtain error (cf PJ). I tried to indicate the version of this package and its dependencies but without success. Does anyone have any idea where the problem is coming from and how to fix it?
Thanks in advance !
FYI, I work with DSS 8.0 et R 3.6
Hi @CGB
There is an issue installing one of the R deps for the package:
ERROR: dependencies ‘pbkrtest’, ‘lme4’ are not available for package ‘car’
which goes down to this:
ERROR: configuration failed for package ‘nloptr’
You will need to install "NLopt-devel" (RHEL/Centos) or "libnlopt-dev" (Ubuntu/Debian) OS package to get this resolved.
Thanks @sergeyd
!
However, when I try to add mentioned package on requested packages, I had this error :
package ‘libnlopt-dev’ is not available (for R version 3.6.0)
Any idea to solve this ?
This is not an R package. As I mentioned previously this is OS package:
https://packages.debian.org/sid/libnlopt-dev
So you need to run (assuming you are on Ubuntu/Debian):
sudo apt-get install libnlopt-dev
Thanks, I contact my admin to run this command and install this OS package.
I will complete the post after the test.