First, thank you for the awesome tool and the continued community support for Travis CI. It is a very helpful tool in my projects.
I have recently noticed this error. The test fails specifically when I’m trying to prepare the R environment. I have contacted customer support and they suggested me to open a ticket and mention @jeroen and @jimhester . I hope you can give me some suggestions.
Previously, with this setting, the test should continue. So I’m wondering whether there are any changes to the system that could cause the error. Should I modify my Travis config file?
Thank you @native-api Actually that does not fix my problem and the same issue remains. I made a request to turn on the Debug mode to connect the server. I found that the path does not exist. Hmmmm…
travis@travis-job-d9844f42-b017-45e7-aeaa-af2012627cc2:~/build/Weiming-Hu/AnalogsEnsemble$ ls /opt/R
ls: cannot access ‘/opt/R’: No such file or directory
r-4.0.2 package is being uninstalled when you install g++-5. They must be incompatible or something.
You can run the g++-5 installation manually with -o Debug::pkgProblemResolver=yes to get more information why Apt is deciding so.
AFAICS, g++-5 is installed as part of R installation (so that R can build packages from source). So you don’t need to install it explicitly unless you have special needs.
The g++-5 package from ubuntu-toolchain-r/test must be incompatible with the stock package and causes uninstallation or replacement of everything that depends on it, including r.
It’s good to know that g+±5 is already installed. I don’t have any other specific requirements. Let me remove the installation of g+±5 and try again. Thanks.