checking for R packages…
rPkgsInstall -pkgs ALL -check : FAILURE
oo Warning:
These packages are not installed on the computer: brms!
Using ubuntu 18.04 LTS. Openssl is installed, however the error I get when attempted rPkgsInstall -pkgs brms is
checking openssl/ssl.h usability… no
checking openssl/ssl.h presence… no
checking for openssl/ssl.h… no
checking openssl/rsa.h usability… no
checking openssl/rsa.h presence… no
checking for openssl/rsa.h… no
configure: error: Failed to find usable crypto library. Please install openssl-dev or equivalent and/or set PKG_LIBS if not in default location.
ERROR: configuration failed for package ‘PKI’
removing ‘/home/niko/R/PKI’
ERROR: dependency ‘PKI’ is not available for package ‘rsconnect’
removing ‘/home/niko/R/rsconnect’
ERROR: dependency ‘rsconnect’ is not available for package ‘shinystan’
removing ‘/home/niko/R/shinystan’
ERROR: dependency ‘shinystan’ is not available for package ‘brms’
Jumping in here because I noticed that if I try and install openssl-dev on ubuntu using apt, I receive the error “Unable to locate package openssl-dev”. Some googling led me to this, which suggest that the equivilent package for ubuntu would be libssl-dev instead of openssl-dev. I have not had a chance to test this, however…
I got the same advice from elsewhere, and
sudo apt-get install libssl-dev
followed by another
rPkgsInstall -pkgs ALL
solved the brms installation problem
(or at least AFNI check did not complain about anything anymore)
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.