rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

board_azure possibly incorrectly computing hash of URL #501

Closed hongooi73 closed 3 years ago

hongooi73 commented 3 years ago

In the dev version, we have:

board_azure <- function(container, n_processes = 10, versioned = TRUE, cache = NULL) {
  check_installed("AzureStor")

  cache <- cache %||% board_cache_path(paste0("azure-", hash(url)))
  ...

However, the URL of the storage container is actually in the component container$endpoint$url; the code as-is is computing the hash of the base function url().

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.