I used to have Travis green badges on my two GitHub r packages.
I realized the badge does not go to any website recently- 404 error-when I click on it, so I checked and there was an “app.travis” instead of “travis” added in the address of the badges. I updated the link of the badges on Github which triggered a build on both packages from Github on travis. One package passed the build- fGMD- and the other gave the following error which relates to the first package installation. The second package “MFSgrp” uses the first package “fGMD” after installs it and that is where this error happens:
$ Rscript -e ‘remotes::install_github(c(“Ali-Mahzarnia/fGMD”))’
4173Using bundled GitHub PAT. Please add your own PAT to the env var
4174Error: Failed to install ‘unknown package’ from GitHub:
4175 HTTP error 401.
4176 Bad credentials
4178 Rate limit remaining: 58/60
4179 Rate limit reset at: 2021-09-10 14:05:47 UTC
The command “Rscript -e ‘remotes::install_github(c(“Ali-Mahzarnia/fGMD”))’” failed and exited with 1 during .
This installation line was working well in my previous builds. What should I modify on my Travis.yml file on Github for the second package to resolve this issue and successfully build it?
My last succeeding/green build of MFSGrp: Travis CI - Test and Deploy with Confidence
My first failing/red build fGMD: Travis CI - Test and Deploy with Confidence
@jeroen : the Travis associates did not know the answer but said you are the one working on R support and I should reach out to you.