<http_401/http_400/http_error/error/condition>
Error in `calendly_get(url = "https://api.calendly.com/users/me", token = token)`: Unauthorized (HTTP 401).

events <- list_calendly_events(user = user$resource$uri)
"location", "name", "start_time", "status", "updated_at",

<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map(api_calls, gh_repo_wrapper_fn)`: i In index: 1.
i With name: clones.
Caused by error in `gh::gh()`:
! GitHub API error (403): Must have push access to repository
i Read more at <https://docs.github.com/rest/metrics/traffic#get-repository-clones>

repo_list <- get_org_repo_list(owner = "fhdsl")
expect_named(repo_list, c("name", "url", "open_issues", "visibility", "stargazers_count", "watchers_count"))
repo_list <- get_user_repo_list(owner = "cansavvy")
metrics <- get_github_repo_summary(repo = "fhdsl/metricminer")
expect_named(metrics, c("repo_name", "num_forks", "num_contributors", "total_contributions",
time_course_metrics <-  get_github_repo_timecourse(repo = "fhdsl/metricminer")
expect_named(time_course_metrics, c("repo", "timestamp", "count_clones", "uniques_clones", "count_views", "uniques_views"))
some_repos_metrics <- get_multiple_repos_metrics(repo_names = repo_names)
expect_named(some_repos_metrics, c("repo_name", "num_forks", "num_contributors", "total_contributions",

Error in `request_ga(token = token, url = "https://analytics.googleapis.com/analytics/v3/management/accountSummaries", 
    request_type = request_type)`: API request failed:{
  "error": {
    "code": 401,
    "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
    "errors": [
      {
        "message": "Login Required.",
        "domain": "global",
        "reason": "required",
        "location": "Authorization",
        "locationType": "header"
      }
    ],
    "status": "UNAUTHENTICATED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "CREDENTIALS_MISSING",
        "domain": "googleapis.com",
        "metadata": {
          "service": "analytics.googleapis.com",
          "method": "analytics.gaapi.v3.AnalyticsManagementAccountSummaries.List"
        }
      }
    ]
  }
}