rstudio / pins-r

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

Pass the dots from `pin_write()` through to `s3_upload_file()` #648

Closed juliasilge closed 2 years ago

juliasilge commented 2 years ago

Closes #628

library(pins)
b <- board_s3(
  "pins-test-hadley", 
  region = "us-east-2",
  access_key = Sys.getenv("PINS_AWS_ACCESS_KEY"),
  secret_access_key = Sys.getenv("PINS_AWS_SECRET_ACCESS_KEY")
)
b %>% pin_write(mtcars, Tagging = "key1=value1&key2=value2")
#> Using `name = 'mtcars'`
#> Guessing `type = 'rds'`
#> Creating new version '20220831T215459Z-66143'
#> Writing to pin 'mtcars'

Created on 2022-08-31 with reprex v2.0.2

juliasilge commented 2 years ago

Also closes #625

github-actions[bot] commented 2 years ago

This pull request 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.