r-base 3.6 & rstudio 1.2.1335 on Linux Mint 19.1 - cannot install packages

Hey all!
I'm using r-base 3.6 and rstudio 1.2.1335 on a Linux Mint 19.1 platform and I cannot install packages, I always get the following type of error messages (this one is for the libcurl package):

------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:

  • deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
  • rpm: libcurl-devel (Fedora, CentOS, RHEL)
  • csw: libcurl_dev (Solaris)
    If libcurl is already installed, check that 'pkg-config' is in your
    PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
    is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
    R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'

Any idea ?

You need to install libcurl4-openssl-dev on your system (not in R), it looks like.

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