r-lib / urlchecker

Run CRAN URL checks from older versions of R
https://urlchecker.r-lib.org/
GNU General Public License v3.0
45 stars 5 forks source link

Help for missing GITHUB_PAT #28

Open lorenzwalthert opened 1 year ago

lorenzwalthert commented 1 year ago

I had it previously set up but it just took me way too long to figure out that I needed to set the env variable GITHUB_PAT when getting:

✖ Error: NEWS.md:360:14 429: Too Many Requests
...

after urlchecker::url_check("."). In particular since I already set up a token with {usethis} but that apparently did not get used. Can we catch that erorr and give a more re-throw or at least add some note about it in the docs?