I used to have travis badges as green on my two github r packages. The build histories of these packages are on travis archive.
Today, I realized the badge does not go to any website- 404 error-when I click on it, so I checked and there was a “app.travis” instead of “travis” added in the address of the badges. I updated the link of the badges on the Github which triggered a build on both packages from Girhub on travis. One package passed the build- fGMD- and the other gave the following error which relates to the first package:
$ 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.