rstudio / pins-r

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

cannot cache pins #593

Closed maglet closed 2 years ago

maglet commented 2 years ago

I'm having trouble with caching data from pins. I installed pins using install.packages() - no modifications.

a colleague of mine is able to access them with no issues. Here's the pin in question:

https://data-viz.it.wisc.edu/content/4d1e6303-ce46-461c-9cee-da3b3e49ed3b/

First attempt at accessing pin with:

data<-pin_read(board, "cmtobin/Pinned-ecology-data")

Error: [EACCES] Failed to open '/Users/cmtobin/Library/Caches/pins/rsc-e62371cfd77db754024f9c5ed3556a73/4d1e6303-ce46-461c-9cee-da3b3e49ed3b/1551/data.txt': permission denied

Upon subsequent attempts to cache: Error: [EEXIST] Failed to copy '/var/folders/k6/05nvcdy50d1ftsw2zmsknhk88r0pqd/T/RtmpAP5TuB/fileaebe57ac3738' to '/Users/cmtobin/Library/Caches/pins/rsc-e62371cfd77db754024f9c5ed3556a73/4d1e6303-ce46-461c-9cee-da3b3e49ed3b/1551/data.txt': file already exists

Resetting directory permissions doesn't seem to fix the issue. any ideas on why this might be?

maglet commented 2 years ago

Restarting the computer seems to have fixed it.

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.