Closed atusy closed 3 years ago
Oooh because the cache is made write only to avoid the user accidentally changing.
I see! I opened a PR to fix it!
@hadley is this bug going to affect the other Internet-based boards (S3, Azure, MS365, rsconnect)?
@hongooi73
As far as I understand, board_url
and board_kaggle
are affected because they use http_download
.
Others should be safe as they do not rely on http_download
.
@hongooi73 Sorry, maybe I am wrong. It seems azure_download
, and others are also changing files to be read only, but not adding write permission before downloading.
maybe I'm wrong again. Other boards attempts a download when path is missing. Maybe they do not have to care about update? I'm not using those boards, so am unsure...
I think it's only board_url()
because for the other boards the pin-versions are immutable.
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.
pin_download
is successful for the first time but not for the second time. It cache directories and nested files have insufficient permissions. See reprex below.I faced the issue on Linux.
reprex
Created on 2021-10-14 by the reprex package (v2.0.1)