R code env : error installing package

CGB
CGB 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

Answers

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
    edited July 17

    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.

  • CGB
    CGB 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 17

    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 ?

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
    edited July 17

    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

  • CGB
    CGB 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.

Setup Info
    Tags
      Help me…