jsonlite
Browse files
globals.R
CHANGED
@@ -100,7 +100,7 @@ get_github_files <- function(repo_owner, repo_name, verbosity = 1) {
|
|
100 |
# Check if the request was successful
|
101 |
if (response[["status_code"]] == 200) {
|
102 |
# Extract the file information
|
103 |
-
files_data <- content(response, as = "text", encoding = "UTF-8") |> fromJSON()
|
104 |
|
105 |
# Create a data frame with file names and download URLs
|
106 |
files_df <- data.frame(
|
|
|
100 |
# Check if the request was successful
|
101 |
if (response[["status_code"]] == 200) {
|
102 |
# Extract the file information
|
103 |
+
files_data <- content(response, as = "text", encoding = "UTF-8") |> jsonlite::fromJSON()
|
104 |
|
105 |
# Create a data frame with file names and download URLs
|
106 |
files_df <- data.frame(
|