Skip to content

Commit

Permalink
Merge pull request #18 from jennybc/prefer-glue-data
Browse files Browse the repository at this point in the history
Prefer glue_data() when data might be list-ish, not an actual environment
  • Loading branch information
JBGruber authored Sep 20, 2024
2 parents cbc323c + 7e9cc9d commit 04f7852
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/convert.r
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ convert_http_to_at <- function(link,
http_info$repo <- resolve_handle(http_info$repo, .token = .token)
}

glue::glue("at://{repo}/{collection}/{rkey}", .envir = http_info)
glue::glue_data(http_info, "at://{repo}/{collection}/{rkey}")

})

Expand All @@ -57,4 +57,3 @@ convert_at_to_http <- function(link) {

})
}

0 comments on commit 04f7852

Please sign in to comment.