You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the directory already exists, fs::dir_create ignores it and returns the path(s) to the directory(ies), while s3fs::s3_dir_create returns the string "Directory already exists in AWS S3".
If the goal is to make code written using the fs package portable to the s3fs than the behavior of the functions should be as close as possible.
Also, returning a string is not the most common behavior in R. A condition should be raised, either error, warning or message.
The text was updated successfully, but these errors were encountered:
When the directory already exists, fs::dir_create ignores it and returns the path(s) to the directory(ies), while s3fs::s3_dir_create returns the string "Directory already exists in AWS S3".
If the goal is to make code written using the fs package portable to the s3fs than the behavior of the functions should be as close as possible.
Also, returning a string is not the most common behavior in R. A condition should be raised, either error, warning or message.
The text was updated successfully, but these errors were encountered: