R Under development (unstable) (2025-11-22 r89050 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(contoso) > > test_check("contoso") Saving _problems/test-create_duckdb_database-12.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-create_duckdb_database.R:9:9'): create_contoso_duckdb() / creates a DuckDB database containing all expected tables ── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: HTTP Error: Failed to download extension "motherduck" at URL "http://extensions.duckdb.org/v1.4.2/windows_amd64_mingw/motherduck.duckdb_extension.gz" (HTTP 404) Extension "motherduck" is an existing extension. For more info, visit https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.4.2&platform=windows_amd64_mingw&extension=motherduck i Context: rapi_execute i Error type: INVALID i Raw message: HTTP Error: Failed to download extension "motherduck" at URL "http://extensions.duckdb.org/v1.4.2/windows_amd64_mingw/motherduck.duckdb_extension.gz" (HTTP 404) Extension "motherduck" is an existing extension. For more info, visit https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.4.2&platform=windows_amd64_mingw&extension=motherduck Backtrace: ▆ 1. ├─contoso::create_contoso_duckdb(db_dir = "in_memory", size = "100K") at test-create_duckdb_database.R:9:9 2. │ ├─base::suppressWarnings(DBI::dbExecute(con, "INSTALL motherduck;")) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─DBI::dbExecute(con, "INSTALL motherduck;") 5. │ └─DBI::dbExecute(con, "INSTALL motherduck;") 6. │ ├─DBI::dbSendStatement(conn, statement, ...) 7. │ └─DBI::dbSendStatement(conn, statement, ...) 8. │ ├─DBI::dbSendQuery(conn, statement, ...) 9. │ └─duckdb::dbSendQuery(conn, statement, ...) 10. │ └─duckdb (local) .local(conn, statement, ...) 11. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 12. │ └─duckdb:::duckdb_execute(res) 13. │ └─duckdb:::rethrow_rapi_execute(...) 14. │ ├─rlang::try_fetch(...) 15. │ │ ├─base::tryCatch(...) 16. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. │ │ └─base::withCallingHandlers(...) 20. │ └─duckdb:::rapi_execute(stmt, convert_opts) 21. ├─duckdb (local) ``(...) 22. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 23. │ └─rlang:::signal_abort(cnd, .file) 24. │ └─base::signalCondition(cnd) 25. └─rlang (local) ``(``) 26. └─handlers[[1L]](cnd) 27. └─duckdb:::rethrow_error_from_rapi(e, call) 28. └─rlang::abort(msg, call = call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted