Skip to content
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_get_object() doesn't respect googleAuthR.verbose #170

Open
juliasilge opened this issue Jan 10, 2023 · 0 comments
Open

gcs_get_object() doesn't respect googleAuthR.verbose #170

juliasilge opened this issue Jan 10, 2023 · 0 comments

Comments

@juliasilge
Copy link

In rstudio/pins-r#695 I discovered that this one function doesn't respect the level of googleAuthR.verbose:

withr::with_options(
  list(googleAuthR.verbose = 4),
  {
    googleCloudStorageR::gcs_auth("~/google-pins.json")
    googleCloudStorageR::gcs_get_object(
      object_name = "big-numbers/20221220T011808Z-b89e8/big-numbers.json",
      bucket = "pins-dev",
      saveToDisk = tempfile()
    )
  }
)
#> ℹ Downloading big-numbers/20221220T011808Z-b89e8/big-numbers.json
#> ✔ Saved big-numbers/20221220T011808Z-b89e8/big-numbers.json to /var/folders/hv/…
#> 
#> [1] TRUE

Created on 2023-01-10 with reprex v2.0.2

All the other functions I used seem to respect the verbosity level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant