I am getting the following error when I run unit tests on my package RAQSAPI
[Caused by error in `curl::curl_fetch_memory()`: ! error:0A000152:SSL routines::unsafe legacy renegotiation disabled
My understanding is that this issue is caused by servers that do not support RFC 5746. My organization is unable to add support for this feature on their servers. Is it possible to make httr bypass this restriction. I have read that this restriction can be bypassed by editing openssl config files but I am making a R package. My R package does not and have access to those config files and should not have access to openssl config files. Is there another work around for this since the data being retrieved isn't sensitive, I don't think that my package needs to be overly concerned with security related to SSL issues.
Thank you @Gabor and @maelle , how would you suggest that I implement this so that my package does not affect the user's R environment permanently? I definitely don't want my packages changing the R environment for the user, I just want to set this so that it only affects my package. I also don't want to set this permanently.
Edit: to clarify, I could use witr functions but that would possibly affect the rest of the user's R environment.
This actually fails for me on my libcurl, but this is how it goes. See the libcurl documentation for the options that you can set, hopefully one of them helps you.
The issue is when running that same code on my local computer I don't get any error message, everything works fine so I have no idea how to debug this problem.