You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@marcosci pointed out that it might be useful to mention the system dependencies for the httr package in the installation instructions (ropensci/software-review#231). On Debian systems this is libssl-dev and [email protected] via brew for macOS.
The text was updated successfully, but these errors were encountered:
Actually - I think it makes more sense not to do this, as these system deps are already well handled by the httr package. If a user tries to install it without the proper system deps, they will get a nice error message, e.g.,
------------------------ ANTICONF 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: [email protected] (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: configuration failed for package ‘openssl’
So, that should provide a better hint (and one that does not need to be maintained as part of the smapr package) over the long term, consistent with the idea that the R packages smapr depends on are responsible for handling their own system dependencies.
@marcosci pointed out that it might be useful to mention the system dependencies for the httr package in the installation instructions (ropensci/software-review#231). On Debian systems this is
libssl-dev
and[email protected]
via brew for macOS.The text was updated successfully, but these errors were encountered: