moj-analytical-services / s3tools

Interact with files in s3 on the Analytical Platform
8 stars 2 forks source link

Inconsistencies in s3 check_region may cause problems #33

Closed RobinL closed 5 years ago

RobinL commented 5 years ago

Was having problems writing files to s3 with overwrite = FALSE s3tools::write_df_to_csv_in_s3(df, "alpha-everyone/delete/iris4.csv", overwrite = FALSE)

because this uses s3tools:::s3_file_exists("alpha-everyone/delete/iris4.csv") and check_region wasn't enabled in that function