Hi,
when I receive 401 error like: GitHub API error (401): 401 Unauthorized
Message: Requires authentication.
What should I do ?
I have set up a PAT and I placed it in .Renviron file which is situated in R home directory.
a line of code in .Renviron file looks like this:
GITHUB_PAT="my_PAT_numbers_"
Is it OK if this PAT is placed in .Renviron ?
Should I use it every time when I use github API ?
Regards,