R code env : error installing package

Partner, L2 Designer, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 17 Partner

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

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 365 Dataiker
    edited July 2024

    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.

  • Partner, L2 Designer, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 17 Partner
    edited July 2024

    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 ?

  • Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 365 Dataiker
    edited July 2024

    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

  • Partner, L2 Designer, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 17 Partner

    Thanks, I contact my admin to run this command and install this OS package.

    I will complete the post after the test.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.