raulcd opened a new issue, #46269: URL: https://github.com/apache/arrow/issues/46269
### Describe the bug, including details regarding any error messages, version, and platform. Several nightly jobs for R are failing: - [test-r-depsource-system](https://github.com/ursacomputing/crossbow/actions/runs/14697801691/job/41242024850) - [test-r-dev-duckdb](https://github.com/ursacomputing/crossbow/actions/runs/14697801964/job/41242025979) - [test-r-gcc-11](https://github.com/ursacomputing/crossbow/actions/runs/14697801579/job/41242023931) - [test-r-gcc-12](https://github.com/ursacomputing/crossbow/actions/runs/14697802107/job/41242026842) - [test-r-rhub-ubuntu-release-latest](https://github.com/ursacomputing/crossbow/runs/41243276710) - [test-r-rstudio-r-base-4.2-focal](https://github.com/ursacomputing/crossbow/runs/41243165290) - [test-r-ubuntu-22.04](https://github.com/ursacomputing/crossbow/actions/runs/14697801463/job/41242023076) - [test-r-versions](https://github.com/ursacomputing/crossbow/actions/runs/14697801613/job/41242026074) They all seem to fail registering filesystems: ``` ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-s3-minio.R:64:1'): open_dataset errors if passed URIs mixing s3 and local fs ── Error: Key error: Attempted to register factory for scheme 'file' but that scheme is already registered. Backtrace: ▆ 1. ├─testthat::expect_error(...) at tests/testthat/helper-filesystems.R:110:7 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─arrow::open_dataset(...) 8. └─DatasetFactory$create(...) 9. └─arrow:::get_paths_and_filesystem(x, filesystem) 10. └─base::lapply(x, FileSystem$from_uri) 11. └─arrow (local) FUN(X[[i]], ...) 12. └─arrow:::fs___FileSystemFromUri(uri) ── Error ('test-s3-minio.R:64:1'): copy files with s3 ────────────────────────── Error: Key error: Attempted to register factory for scheme 'file' but that scheme is already registered. Backtrace: ▆ 1. └─arrow::copy_files(uri_formatter("hive_dir"), td) at tests/testthat/helper-filesystems.R:173:7 2. └─arrow:::get_path_and_filesystem(to) 3. └─arrow:::get_paths_and_filesystem(x, filesystem) 4. ├─filesystem %||% LocalFileSystem$create() 5. └─LocalFileSystem$create() 6. └─FileSystem$from_uri("file:///_") 7. └─arrow:::fs___FileSystemFromUri(uri) ── Error ('test-udf.R:232:3'): user-defined functions work during multi-threaded execution ── Error: Key error: Attempted to register factory for scheme 'file' but that scheme is already registered. Backtrace: ▆ 1. └─arrow::write_dataset(example_df, tf_dataset, partitioning = "part") at test-udf.R:232:3 2. └─arrow:::get_path_and_filesystem(path) 3. └─arrow:::get_paths_and_filesystem(x, filesystem) 4. ├─filesystem %||% LocalFileSystem$create() 5. └─LocalFileSystem$create() 6. └─FileSystem$from_uri("file:///_") 7. └─arrow:::fs___FileSystemFromUri(uri) [ FAIL 3 | WARN 0 | SKIP 28 | PASS 8307 ] Error: Test failures ``` ### Component(s) R -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org