Howdy! I'm trying to install tidyverse and it's getting hung up on openssl. I have reinstalled openssl@1.1 via homebrew (mac OS), added export PATH="/usr/local/opt/openssl/bin:$PATH"
to .zshrc, have restarted RStudio, but still keep getting this error:
Configuration failed because openssl was not found. Try installing:
* deb: libssl-dev (Debian, Ubuntu, etc)
* rpm: openssl-devel (Fedora, CentOS, RHEL)
* csw: libssl_dev (Solaris)
* brew: openssl@1.1 (Mac OSX)
If openssl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a openssl.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=...'
-------------------------- [ERROR MESSAGE] ---------------------------
tools/version.c:1:10: fatal error: 'openssl/opensslv.h' file not found
I'm not sure what pkg-config refers to or where to manually set the INCLUDE_DIR and LIB_DIR. Has anyone run into an issue like this before?