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
When setting up github actions to test on push, the workflow fails on the setup-renv step when trying to use ubuntu-latest as the OS. I get the following message:
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
I do not get this when I use macos-latest as the OS, but I was hoping to use Ubuntu. Note that I tried to add Ubuntu dependencies as a separate step before setup-r but that did not work:
What's the full output from your CI run task? It might be helpful to see the error message you printed in context.
If the issue is related to installation of the curl package, then you should normally see instructions like:
------------------------- 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=...'
And note the requirement of libcurl4-openssl-dev being installed. I don't know if the gnutls version is sufficient; I suspect not.
When setting up github actions to test on push, the workflow fails on the setup-renv step when trying to use
ubuntu-latest
as the OS. I get the following message:I do not get this when I use
macos-latest
as the OS, but I was hoping to use Ubuntu. Note that I tried to add Ubuntu dependencies as a separate step beforesetup-r
but that did not work:Here is my full yaml for the github workflow:
The text was updated successfully, but these errors were encountered: