ERROR: dependency ‘latticeExtra’ is not available for package ‘tools4uplift’

Hello, I am getting when attempting to do install.packages('tools4uplift').
ERROR: dependency ‘latticeExtra’ is not available for package ‘tools4uplift’

I am using R version 3.6.3. Much appreciate any help.

Thanks,

What happens if you try installing the missing dependency?

install.packages("latticeExtra")

Thanks for the response. Here is the error I am getting when try install latticeExtra

gcc -std=gnu99 -I"/opt/R/3.6.3/lib/R/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -c read.c -o read.o
In file included from read.c:1:0:
rjcommon.h:11:10: fatal error: jpeglib.h: No such file or directory
#include <jpeglib.h>
^~~~~~~~~~~
compilation terminated.
make: *** [read.o] Error 1
ERROR: compilation failed for package ‘jpeg’

  • removing ‘/opt/R/3.6.3/lib/R/library/jpeg’
    Warning in install.packages :
    installation of package ‘jpeg’ had non-zero exit status
    ERROR: dependency ‘jpeg’ is not available for package ‘latticeExtra’
  • removing ‘/opt/R/3.6.3/lib/R/library/latticeExtra’
    Warning in install.packages :
    installation of package ‘latticeExtra’ had non-zero exit status

You are missing a system library, what operating system are you using?

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.