.check_test_token | R Documentation |
We use a fine-grained GitHub Personal Access Token in our auth testing. This function is memoised and checks that the token has the correct permissions to the various test repositories.
.check_test_token()
test_token |
github token, typically stored at TAN_GH_TOKEN |
test_repos |
repos used in testing |
It should have the following token permissions:
Contents (read/write)
Metadata (read)
on the following repositories
tanho63/piggyback
tanho63/piggyback-tests
tanho63/piggyback-private (a private repository)
named vector of TRUE or FALSE as to whether the token is configured and can access the test repos.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.