Package check result: ERROR Check: whether package can be installed, Result: WARNING Found the following significant warnings: duckdb/third_party/mbedtls/library/platform_util.cpp:123:49: warning: ISO C++ forbids variable length array [-Wvla] See ‘/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00install.out’ for details. Used C++ compiler: ‘g++-14 (Debian 14.2.0-19) 14.2.0’ Check: examples, Result: ERROR Running examples in ‘duckdb-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: duckdb > ### Title: Connect to a DuckDB database instance > ### Aliases: duckdb duckdb_shutdown duckdb_adbc dbConnect__duckdb_driver > ### dbConnect,duckdb_driver-method dbDisconnect__duckdb_connection > ### dbDisconnect,duckdb_connection-method > > ### ** Examples > > ## Don't show: > if (requireNamespace("adbcdrivermanager", quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(adbcdrivermanager) + with_adbc(db <- adbc_database_init(duckdb_adbc()), { + as.data.frame(read_adbc(db, "SELECT 1 as one;")) + }) + ## Don't show: + }) # examplesIf > library(adbcdrivermanager) > with_adbc(db <- adbc_database_init(duckdb_adbc()), { + as.data.frame(read_adbc(db, "SELECT 1 as one;")) + }) ==244209== ==244209== Process terminating with default action of signal 15 (SIGTERM) ==244209== at 0x21868060: try_wait (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/third_party/concurrentqueue/lightweightsemaphore.h:207) ==244209== by 0x21868060: duckdb_moodycamel::LightweightSemaphore::waitWithPartialSpinning(long) (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/third_party/concurrentqueue/lightweightsemaphore.h:308) ==244209== by 0x21865E4F: wait (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/third_party/concurrentqueue/lightweightsemaphore.h:380) ==244209== by 0x21865E4F: duckdb::TaskScheduler::ExecuteForever(std::atomic*) (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/src/parallel/task_scheduler.cpp:173) ==244209== by 0x784A223: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33) ==244209== by 0x4D59B7A: start_thread (nptl/./nptl/pthread_create.c:448) ==244209== by 0x4DD75EF: clone (misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:100) ==244209== ==244209== HEAP SUMMARY: ==244209== in use at exit: 71,473,294 bytes in 26,551 blocks ==244209== total heap usage: 101,174 allocs, 74,623 frees, 150,220,215 bytes allocated ==244209== Check: tests, Result: ERROR Running ‘testthat.R’ [0m/30m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("DBI") > > test_check("duckdb") Loading required package: duckdb Check: for detritus in the temp directory, Result: NOTE Found the following files/directories: ‘vgdb-pipe-from-vgdb-to-293410-by-hornik-on-???’ ‘vgdb-pipe-shared-mem-vgdb-293410-by-hornik-on-???’ ‘vgdb-pipe-to-vgdb-from-293410-by-hornik-on-???’ Post-processing issues found: File: duckdb-Ex.Rout ==244209== Memcheck, a memory error detector ==244209== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==244209== Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info ==244209== Command: /home/hornik/tmp/R-d-gcc-valg/bin/exec/R --vanilla ==244209== ==244209== ==244209== Process terminating with default action of signal 15 (SIGTERM) ==244209== at 0x21868060: try_wait (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/third_party/concurrentqueue/lightweightsemaphore.h:207) ==244209== by 0x21868060: duckdb_moodycamel::LightweightSemaphore::waitWithPartialSpinning(long) (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/third_party/concurrentqueue/lightweightsemaphore.h:308) ==244209== by 0x21865E4F: wait (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/third_party/concurrentqueue/lightweightsemaphore.h:380) ==244209== by 0x21865E4F: duckdb::TaskScheduler::ExecuteForever(std::atomic*) (/home/hornik/tmp/CRAN_special_valgrind/duckdb.Rcheck/00_pkg_src/duckdb/src/duckdb/src/parallel/task_scheduler.cpp:173) ==244209== by 0x784A223: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33) ==244209== by 0x4D59B7A: start_thread (nptl/./nptl/pthread_create.c:448) ==244209== by 0x4DD75EF: clone (misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:100) ==244209== ==244209== HEAP SUMMARY: ==244209== in use at exit: 71,473,294 bytes in 26,551 blocks ==244209== total heap usage: 101,174 allocs, 74,623 frees, 150,220,215 bytes allocated ==244209== ==244209== LEAK SUMMARY: ==244209== definitely lost: 0 bytes in 0 blocks ==244209== indirectly lost: 0 bytes in 0 blocks ==244209== possibly lost: 14,896 bytes in 46 blocks ==244209== still reachable: 71,450,146 bytes in 26,504 blocks ==244209== suppressed: 8,252 bytes in 1 blocks ==244209== Rerun with --leak-check=full to see details of leaked memory ==244209== ==244209== For lists of detected and suppressed errors, rerun with: -s ==244209== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)