* using log directory ‘/srv/hornik/tmp/CRAN_pretest/contoso.Rcheck’ * using R Under development (unstable) (2025-11-22 r89050) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.5 (1) Debian flang version 21.1.5 (1) * running under: Debian GNU/Linux forky/sid * 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 ... [5s/5s] 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘contoso’ can be installed ... [1s/1s] 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [2s/2s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [0s/0s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [3s/66s] ERROR Running ‘testthat.R’ [3s/66s] 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") MotherDuck Device Confirmation Please confirm this is the code displayed on your MotherDuck Extension: [LMHT-VJQV ] If you did not initiate this action or you do not recognize this device select cancel. Cancel Confirm Attempting to automatically open the SSO authorization page in your default browser. Please open this link to login into your account: https://auth.motherduck.com/activate?user_code=LMHT-VJQV Couldn't get token after 1 min. Aborting ⚠️ Token not found, please use the SET command: SET motherduck_token= You can also store it as an environment variable: $ export motherduck_token= or try again. 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: Invalid Input Error: Cannot connect to MotherDuck server: no token provided. For more info, see https://motherduck.com/docs/key-tasks/authenticating-to-motherduck i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Input Error: Cannot connect to MotherDuck server: no token provided. For more info, see https://motherduck.com/docs/key-tasks/authenticating-to-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, "ATTACH 'md:_share/contoso/5cd50a2d-d482-4160-b260-f10091290db9' as contoso")) 3. │ │ └─base::withCallingHandlers(...) 4. │ ├─DBI::dbExecute(con, "ATTACH 'md:_share/contoso/5cd50a2d-d482-4160-b260-f10091290db9' as contoso") 5. │ └─DBI::dbExecute(con, "ATTACH 'md:_share/contoso/5cd50a2d-d482-4160-b260-f10091290db9' as contoso") 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 ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE