s3fs icon indicating copy to clipboard operation
s3fs copied to clipboard

[improvement] Get a simple return on `s3fs::s3_file_system`

Open asitemade4u opened this issue 10 months ago • 1 comments

It would be practical to have a simple return on the connection function, instead of the whole page of connection details the function is returning now. Maybe another enclosing function would do the trick:

validity <- s3fs::is_valid(s3fs::s3_file_system(
  aws_access_key_id = Sys.getenv("MINIO_KEY"),
  aws_secret_access_key = Sys.getenv("MINIO_PWD"),
  endpoint = glue::glue("http://{theenv$miosrv}")
))
(validity)

asitemade4u avatar Mar 28 '24 13:03 asitemade4u

I like this idea :) I happy to implement it :)

DyfanJones avatar Mar 28 '24 22:03 DyfanJones