You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering what the best workflow is for projects that I plan to share publicly and I want other people to be able to reproduce. I am planning to use an S3 bucket for myself and collaborators and also share the code as a Github repository. In that case if a colleague or a reviewer wants to reproduce the analyses, it seems that the code will error because they don't have writing access to the bucket. I'm considering setting an environmental variable like "WITH_S3", and then a conditional statement in tar_option_set() which defaults to local storage if people don't have this variable setup.
This seems like a straightforward solution, but the computations take a long time. So I was planning to make the bucket publicly readable. Is there a way to set it up so that anyone who attempts to replicate the analysis would get the targets from the cloud storage, even if they aren't allowed to write to it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Help
Description
I am wondering what the best workflow is for projects that I plan to share publicly and I want other people to be able to reproduce. I am planning to use an S3 bucket for myself and collaborators and also share the code as a Github repository. In that case if a colleague or a reviewer wants to reproduce the analyses, it seems that the code will error because they don't have writing access to the bucket. I'm considering setting an environmental variable like "WITH_S3", and then a conditional statement in
tar_option_set()
which defaults to local storage if people don't have this variable setup.This seems like a straightforward solution, but the computations take a long time. So I was planning to make the bucket publicly readable. Is there a way to set it up so that anyone who attempts to replicate the analysis would get the targets from the cloud storage, even if they aren't allowed to write to it?
Beta Was this translation helpful? Give feedback.
All reactions