powered by
Compute the suffix that gh uses for GitHub API URL specific PATs
slugify_url(url)
Character vector HTTP/HTTPS URLs.
Character vector of suffixes.
gh_token()
# NOT RUN { # The main GH site slugify_url("https://api.github.com") # A custom one slugify_url("https://github.acme.com") # }
Run the code above in your browser using DataLab