-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ORDERLY_PATH_DEFAULT_REMOTE environment variable #328
Comments
Lorenzo! Nice to hear from you :) If you're using orderly, do you mind if we have a chat at some point as we're in the middle of rewriting everything. I'd be interested to see how you're using it, and if there's anything we can do to make that easier for you as we rewrite it. The above should work, so something is probably wrong with the configuration. I can try and recreate it, but it would be most efficient if you could create a minimal example (e.g., a small zip file) that illustrates your setup with no sensitive data, just a dummy |
Hey Rich! Thanks a lot for your reply. I hope all is well. So I created a simple orderly project with one dummy task (attached below as zip file). I copied that folder to another directory on my windows machine (which acts as the remote place). Then I run the lines in the This hopefully clarifies what I am trying to do and the problem I am having. Please let me know if not and I can provide more information / try to create a better example. Also, I am using orderly version ‘1.4.3’. It would be great to chat on how we use orderly here at UKHSA. It has been massively helpful in supporting our incident response work. Happy to book some time to meet when convenient. Thank you very much |
Thanks Lorenzo - I can confirm this and can also confirm that it is still present in the current development version (1.6.1). The workaround is to edit your
and add
(note that this uses I've got a fix that you can try with: remotes::install_github("vimc/orderly@remote-env", upgrade = FALSE) (in a new session), which will give you version 1.6.2; let me know if that works on your real case. |
Thanks Rich. The workaround works great and the fix too on my real case. |
Hello orderly developers!
I am having an issue using
orderly_pull_archive()
. I am not able to provide a full reproducible example but I hope that what I am trying to do is clear from the below description.I set up a shared disk system with a copy of my orderly project on a shared drive all my team members have access to.
If I run the report "get_data" on the shared drive and then try to pull it locally using
orderly_pull_archive("get_data")
I get the error:This happens despite having created an
orderly_envir.yml
file with the ORDERLY_PATH_DEFAULT_REMOTE environment variable, as explained in the vignette.I can successfully pull the copy of the report from remote using one of the following workarounds:
or
Do I need to set the remote or define the remote argument in
orderly_pull_archive()
EVERY TIME I want to useorderly_pull_archive()
? From the vignette it looks like I should be able to pull a copy of the report by just using the "ORDERLY_PATH_DEFAULT_REMOTE" environment variable?Any advise is appreciated!
Thanks
Lorenzo
The text was updated successfully, but these errors were encountered: