egenn commited on
Commit
4ffb642
·
1 Parent(s): 14447e3
Files changed (1) hide show
  1. globals.R +1 -1
globals.R CHANGED
@@ -95,7 +95,7 @@ get_github_files <- function(repo_owner, repo_name, verbosity = 1) {
95
  api_url <- paste0("https://api.github.com/repos/", repo_owner, "/", repo_name, "/contents/data")
96
 
97
  # Make the API request
98
- response <- GET(api_url)
99
 
100
  # Check if the request was successful
101
  if (response[["status_code"]] == 200) {
 
95
  api_url <- paste0("https://api.github.com/repos/", repo_owner, "/", repo_name, "/contents/data")
96
 
97
  # Make the API request
98
+ response <- httr::GET(api_url)
99
 
100
  # Check if the request was successful
101
  if (response[["status_code"]] == 200) {