-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
gcs_load_all() fails to create/load to subdirectories #112
Comments
I don't think this has fixed the problem. Couple issues I'm seeing:
|
Ok it'll be good to get a reprex to reproduce the bad behaviour for the tests, then I'll look at a solution I did for another package tar'ing files and see if that applies. |
Here's a reprex: I created a VM instance on GCE using the docker.io/rocker/tidyverse image and storage-full scope:
On startup I install GCS package and create a YAML pointing to an existing bucket to use for autosave/load:
Then I run:
For this, I would expect that the same set of files/directories that were set up and then deleted would show up (in the working directory, where they were created and saved from) after running gcs_first(). For me, actually nothing new is created in my working directory. |
The above is actually related to
This also doesn't create anything new in my working directory. I can try to start looking into it but thought I would at least post a reprex for starters. |
Great thanks, will take a look |
The pull request above reverts back to use of
Since The problem with using |
Trying to load from a GCS bucket on startup (using .First as shared here) and directories and subdirectories are not being loaded.
(Assuming a global bucket/auth/etc., I can make a more formal reprex if needed but I believe this will fail across the board):
I think the offending line is:
googleCloudStorageR/R/rsession.R
Line 211 in 4391788
I believe that the recursive argument on file.copy() will only work when specifying a directory, not file-by-file as the mapply() call does.
The text was updated successfully, but these errors were encountered: