# NOT RUN {
authoriseGitHub(ClientID, ClientSecret,
scope = c("public_repo", "delete_repo")) -> github_token
# authoriseGitHub also does: aoptions("github_token", github_token)
aoptions("user", user.name)
aoptions("password", user.password)
createGitHubRepo("Museum")
deleteGitHubRepo(repo = "Museum", deleteRoot = TRUE, response = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab