* using log directory 'd:/RCompile/CRANincoming/R-devel/contoso.Rcheck' * using R Under development (unstable) (2025-11-22 r89050 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'contoso/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'contoso' version '1.2.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Alejandro Hagan ' Days since last update: 1 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'contoso' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > # 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 * checking PDF version of manual ... [12s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE