Token

As a default, GitHub only allows 60 API calls per hour for anonymous users, and the GITHUB_PAT environment variable is used. I highly recommend to Create your own pat and set env GITHUB_PAT， for increasing the unauthenticated rate limit to 5000 for OAuth.

Sys.setenv(GITHUB_PAT = "your_pat")

List reactions

List reactions of an issue and its comment of a given repository:

# taken the rstudio/rmakrdown for example
reactions <- github_repo_issue_reactions("rstudio/rmarkdown")

There are 46 opened issues in rstudio/ramrkdown, var comment_count indicates the count of comments of an issue