CRAN Package Check Results for Package dbSpatial

Last updated on 2026-06-03 12:50:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 35.54 308.41 343.95 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 20.60 205.47 226.07 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 63.00 505.59 568.59 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 64.00 555.66 619.66 OK
r-devel-windows-x86_64 0.1.1 34.00 273.00 307.00 OK
r-release-linux-x86_64 0.1.1 30.38 301.67 332.05 OK
r-release-macos-arm64 0.1.1 8.00 73.00 81.00 OK
r-release-macos-x86_64 0.1.1 24.00 385.00 409.00 OK
r-release-windows-x86_64 0.1.1 35.00 269.00 304.00 OK
r-oldrel-macos-arm64 0.1.1 7.00 80.00 87.00 OK
r-oldrel-macos-x86_64 0.1.1 23.00 413.00 436.00 OK
r-oldrel-windows-x86_64 0.1.1 46.00 382.00 428.00 OK

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [30s/59s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(dbSpatial) > > test_check("dbSpatial") Saving _problems/test-extract-15.R Saving _problems/test-spatial-functions-15.R Saving _problems/test-spatial-functions-35.R Saving _problems/test-spatial-functions-70.R [gannet:856786:0:865869] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x6d3662) ==== backtrace (tid: 865869) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7fec57ae3df4] 1 /lib64/libucs.so.0(+0x17aed) [0x7fec57ae5aed] 2 /lib64/libucs.so.0(+0x17cbd) [0x7fec57ae5cbd] 3 /lib64/libc.so.6(+0x1a040) [0x7fec6db28040] 4 /tmp/RtmpoVfjlZ/working_dir/RtmpQiSR3g/filed12d276a69b06/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0xc26268) [0x7feb3c9f8268] 5 /tmp/RtmpoVfjlZ/working_dir/RtmpQiSR3g/filed12d276a69b06/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0xc29927) [0x7feb3c9fb927] 6 /tmp/RtmpoVfjlZ/working_dir/RtmpQiSR3g/filed12d276a69b06/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0xc29aa4) [0x7feb3c9fbaa4] 7 /tmp/RtmpoVfjlZ/working_dir/RtmpQiSR3g/filed12d276a69b06/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x1152a6a) [0x7feb3cf24a6a] 8 /tmp/RtmpoVfjlZ/working_dir/RtmpQiSR3g/filed12d276a69b06/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x75c104) [0x7feb3c52e104] 9 /tmp/RtmpoVfjlZ/working_dir/RtmpQiSR3g/filed12d276a69b06/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x75a499) [0x7feb3c52c499] 10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7feb8f479e3f] 11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7feb8f479bea] 12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7feb9025e831] 13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x9b) [0x7feb90a8d8eb] 14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7feb90a8a4c6] 15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7feb90a8a134] 16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7feb90a83d90] 17 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7feb90a90b1a] 18 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1a9c68c) [0x7feb90a9c68c] 19 /lib64/libc.so.6(+0x71f14) [0x7fec6db7ff14] 20 /lib64/libc.so.6(+0xf532c) [0x7fec6dc0332c] ================================= *** caught segfault *** address 0x4d2000d12d2, cause 'unknown' Traceback: 1: rapi_execute(stmt, convert_opts) 2: withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}) 3: doTryCatch(return(expr), name, parentenv, handler) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5: tryCatchList(expr, classes, parentenv, handlers) 6: tryCatch(withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}), stackOverflowError = handlers[[1L]]) 7: rlang::try_fetch(rapi_execute(stmt, convert_opts), error = function(e) { rethrow_error_from_rapi(e, call)}) 8: rethrow_rapi_execute(res@stmt_lst$ref, duckdb_convert_opts_impl(res@connection@convert_opts, arrow = res@arrow)) 9: duckdb_execute(res) 10: duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 11: .local(conn, statement, ...) 12: dbSendQuery(conn, statement, ...) 13: dbSendQuery(conn, statement, ...) 14: dbSendStatement(conn, statement, ...) 15: dbSendStatement(conn, statement, ...) 16: DBI::dbExecute(conn, query) 17: DBI::dbExecute(conn, query) 18: loadSpatial(conn = conn) 19: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 20: suppressMessages(loadSpatial(conn = conn)) 21: dbSpatial(conn = con, name = "test_pts", value = df, x_colName = "x", y_colName = "y", overwrite = TRUE) 22: eval(code, test_env) 23: eval(code, test_env) 24: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt) 25: doTryCatch(return(expr), name, parentenv, handler) 26: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 27: tryCatchList(expr, classes, parentenv, handlers) 28: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal) 29: doWithOneRestart(return(expr), restart) 30: withOneRestart(expr, restarts[[1L]]) 31: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { }) 32: test_code(code, parent.frame()) 33: test_that("st_join works with different predicates", { skip_if_not_installed("duckdb") con <- DBI::dbConnect(duckdb::duckdb()) on.exit(DBI::dbDisconnect(con, shutdown = TRUE)) df <- data.frame(id = 1:3, x = c(0, 10, 20), y = c(0, 10, 20)) pts <- dbSpatial(conn = con, name = "test_pts", value = df, x_colName = "x", y_colName = "y", overwrite = TRUE) res <- st_join(pts, pts, join = sf::st_intersects) expect_s4_class(res, "dbSpatial") expect_equal(nrow(dplyr::collect(res[])), 3)}) 34: eval(code, test_env) 35: eval(code, test_env) 36: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt) 37: doTryCatch(return(expr), name, parentenv, handler) 38: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 39: tryCatchList(expr, classes, parentenv, handlers) 40: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal) 41: doWithOneRestart(return(expr), restart) 42: withOneRestart(expr, restarts[[1L]]) 43: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { }) 44: test_code(code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new()) 45: source_file(path, env = env(env), desc = desc, shuffle = shuffle, error_call = error_call) 46: FUN(X[[i]], ...) 47: lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call) 48: doTryCatch(return(expr), name, parentenv, handler) 49: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 50: tryCatchList(expr, classes, parentenv, handlers) 51: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL}) 52: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call)) 53: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, shuffle = shuffle, error_call = error_call) 54: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel, shuffle = shuffle) 55: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 56: test_check("dbSpatial") An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘class_structure.Rmd’ using rmarkdown [gannet:868776:0:868776] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x6a) ==== backtrace (tid: 868776) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f46973b2df4] 1 /lib64/libucs.so.0(+0x17aed) [0x7f46973b4aed] 2 /lib64/libucs.so.0(+0x17cbd) [0x7f46973b4cbd] 3 /lib64/libc.so.6(+0x1a040) [0x7f46b0029040] 4 /tmp/RtmpoVfjlZ/working_dir/Rtmp9LkqWt/filed41a8793b04ee/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x1181e00) [0x7f45a8f53e00] 5 /tmp/RtmpoVfjlZ/working_dir/Rtmp9LkqWt/filed41a8793b04ee/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x1152a28) [0x7f45a8f24a28] 6 /tmp/RtmpoVfjlZ/working_dir/Rtmp9LkqWt/filed41a8793b04ee/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x75c104) [0x7f45a852e104] 7 /tmp/RtmpoVfjlZ/working_dir/Rtmp9LkqWt/filed41a8793b04ee/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x75a499) [0x7f45a852c499] 8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7f469b079e3f] 9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7f469b079bea] 10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7f469be5e831] 11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x9b) [0x7f469c68d8eb] 12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7f469c68a4c6] 13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x112) [0x7f469c68a0f2] 14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7f469c683d90] 15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb8Executor11ExecuteTaskEb+0x1c0) [0x7f469c6890f0] 16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext19ExecuteTaskInternalERNS_17ClientContextLockERNS_15BaseQueryResultEb+0x40) [0x7f469c4981f0] 17 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb18PendingQueryResult15ExecuteInternalERNS_17ClientContextLockE+0x7a) [0x7f469c49a97a] 18 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext7ExecuteERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS_10shared_ptrINS_21PreparedStatementDataELb1EEERKNS_22PendingQueryParametersE+0xa0) [0x7f469c49a6c0] 19 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb17PreparedStatement7ExecuteERNSt3__113unordered_mapINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_18BoundParameterDataENS_33CaseInsensitiveStringHashFunctionENS_29CaseInsensitiveStringEqualityENS6_INS1_4pairIKS8_S9_EEEEEEb+0x1c3) [0x7f469c4bd473] 20 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb17PreparedStatement7ExecuteERNS_6vectorINS_5ValueELb1ENSt3__19allocatorIS2_EEEEb+0x172) [0x7f469c4bd712] 21 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_Z12rapi_executeN5cpp1116external_pointerIN6duckdb10RStatementEXadL_ZNS_15default_deleterIS2_EEvPT_EEEENS1_11ConvertOptsE+0x115) [0x7f469ad07f75] 22 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_duckdb_rapi_execute+0x66) [0x7f469ad704a6] 23 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8f4b4) [0x556342cca4b4] 24 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdad98) [0x556342d15d98] 25 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x556342d0411c] 26 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x556342d038d5] 27 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9374) [0x556342d04374] 28 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x26e) [0x556342d0399e] 29 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9374) [0x556342d04374] 30 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcea0) [0x556342d17ea0] 31 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd559) [0x556342d08559] 32 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x556342d0411c] 33 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x556342d038d5] 34 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0a39) [0x556342d1ba39] 35 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff2b) [0x556342d1af2b] 36 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc97f7) [0x556342d047f7] 37 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x556342d03d28] 38 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9374) [0x556342d04374] 39 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcea0) [0x556342d17ea0] 40 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd559) [0x556342d08559] 41 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x556342d0411c] 42 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x556342d038d5] 43 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0a39) [0x556342d1ba39] 44 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff2b) [0x556342d1af2b] 45 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc97f7) [0x556342d047f7] 46 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x556342d03d28] 47 /data/gannet/ripley/R/test-clang/rlang/libs/rlang.so(+0x4983) [0x7f46adab7983] 48 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8d603) [0x556342cc8603] 49 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcfb54) [0x556342d0ab54] 50 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x556342d0411c] 51 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x556342d038d5] 52 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0a39) [0x556342d1ba39] 53 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff2b) [0x556342d1af2b] 54 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc97f7) [0x556342d047f7] 55 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x556342d03d28] 56 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe5d98) [0x556342d20d98] 57 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x556342d03b00] 58 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe508b) [0x556342d2008b] 59 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x556342d03b00] 60 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0a39) [0x556342d1ba39] 61 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff2b) [0x556342d1af2b] ================================= *** caught segfault *** address 0x4d2000d41a8, cause 'unknown' Traceback: 1: rapi_execute(stmt, convert_opts) 2: withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}) 3: doTryCatch(return(expr), name, parentenv, handler) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5: tryCatchList(expr, classes, parentenv, handlers) 6: tryCatch(withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}), stackOverflowError = handlers[[1L]]) 7: rlang::try_fetch(rapi_execute(stmt, convert_opts), error = function(e) { rethrow_error_from_rapi(e, call)}) 8: rethrow_rapi_execute(res@stmt_lst$ref, duckdb_convert_opts_impl(res@connection@convert_opts, arrow = res@arrow)) 9: duckdb_execute(res) 10: duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 11: .local(conn, statement, ...) 12: dbSendQuery(conn, statement, ...) 13: dbSendQuery(conn, statement, ...) 14: dbSendStatement(conn, statement, ...) 15: dbSendStatement(conn, statement, ...) 16: DBI::dbExecute(conn, query) 17: DBI::dbExecute(conn, query) 18: loadSpatial(conn = conn) 19: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 20: suppressMessages(loadSpatial(conn = conn)) 21: dbSpatial(conn = con, name = "class_structure_points", value = coords, x_colName = "x", y_colName = "y", overwrite = TRUE) 22: eval(expr, envir) 23: eval(expr, envir) 24: withVisible(eval(expr, envir)) 25: withCallingHandlers(code, error = function (e) rlang::entrace(e), message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 26: eval(call) 27: eval(call) 28: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 29: doWithOneRestart(return(expr), restart) 30: withOneRestart(expr, restarts[[1L]]) 31: withRestartList(expr, restarts[-nr]) 32: doWithOneRestart(return(expr), restart) 33: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 34: withRestartList(expr, restarts) 35: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 36: evaluate::evaluate(...) 37: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 38: in_dir(input_dir(), expr) 39: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 40: eng_r(options) 41: block_exec(params) 42: call_block(x) 43: process_group(group) 44: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }) 45: with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())) 46: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 47: process_file(text, output) 48: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 49: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 50: vweave_rmarkdown(...) 51: engine$weave(file, quiet = quiet, encoding = enc) 52: doTryCatch(return(expr), name, parentenv, handler) 53: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 54: tryCatchList(expr, classes, parentenv, handlers) 55: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) }}, error = function(e) { OK <<- FALSE message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 56: tools:::.buildOneVignette("class_structure.Rmd", "/data/gannet/ripley/R/packages/tests-clang/dbSpatial.Rcheck/vign_test/dbSpatial", TRUE, FALSE, "class_structure", "UTF-8", "/tmp/RtmpoVfjlZ/working_dir/RtmpzKqxvj/filed3fd9637ccbdc.rds") An irrecoverable exception occurred. R is aborting now ... --- re-building ‘getting_started.Rmd’ using rmarkdown [gannet:874756:0:874756] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x6d3662) ==== backtrace (tid: 874756) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7ff482db7df4] 1 /lib64/libucs.so.0(+0x17aed) [0x7ff482db9aed] 2 /lib64/libucs.so.0(+0x17cbd) [0x7ff482db9cbd] 3 /lib64/libc.so.6(+0x1a040) [0x7ff49c528040] 4 /tmp/RtmpoVfjlZ/working_dir/Rtmp60ljAk/filed5904266263b7/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0xc26268) [0x7ff3ba019268] 5 /tmp/RtmpoVfjlZ/working_dir/Rtmp60ljAk/filed5904266263b7/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0xc29927) [0x7ff3ba01c927] 6 /tmp/RtmpoVfjlZ/working_dir/Rtmp60ljAk/filed5904266263b7/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0xc29aa4) [0x7ff3ba01caa4] 7 /tmp/RtmpoVfjlZ/working_dir/Rtmp60ljAk/filed5904266263b7/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x1152a6a) [0x7ff3ba545a6a] 8 /tmp/RtmpoVfjlZ/working_dir/Rtmp60ljAk/filed5904266263b7/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x75c104) [0x7ff3b9b4f104] 9 /tmp/RtmpoVfjlZ/working_dir/Rtmp60ljAk/filed5904266263b7/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension(+0x75a499) [0x7ff3b9b4d499] 10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7ff487479e3f] 11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7ff487479bea] 12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7ff48825e831] 13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x9b) [0x7ff488a8d8eb] 14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7ff488a8a4c6] 15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x112) [0x7ff488a8a0f2] 16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7ff488a83d90] 17 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb8Executor11ExecuteTaskEb+0x1c0) [0x7ff488a890f0] 18 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext19ExecuteTaskInternalERNS_17ClientContextLockERNS_15BaseQueryResultEb+0x40) [0x7ff4888981f0] 19 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb18PendingQueryResult15ExecuteInternalERNS_17ClientContextLockE+0x7a) [0x7ff48889a97a] 20 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext7ExecuteERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS_10shared_ptrINS_21PreparedStatementDataELb1EEERKNS_22PendingQueryParametersE+0xa0) [0x7ff48889a6c0] 21 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb17PreparedStatement7ExecuteERNSt3__113unordered_mapINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_18BoundParameterDataENS_33CaseInsensitiveStringHashFunctionENS_29CaseInsensitiveStringEqualityENS6_INS1_4pairIKS8_S9_EEEEEEb+0x1c3) [0x7ff4888bd473] 22 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb17PreparedStatement7ExecuteERNS_6vectorINS_5ValueELb1ENSt3__19allocatorIS2_EEEEb+0x172) [0x7ff4888bd712] 23 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_Z12rapi_executeN5cpp1116external_pointerIN6duckdb10RStatementEXadL_ZNS_15default_deleterIS2_EEvPT_EEEENS1_11ConvertOptsE+0x115) [0x7ff487107f75] 24 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_duckdb_rapi_execute+0x66) [0x7ff4871704a6] 25 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8f4b4) [0x55b3c130b4b4] 26 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdad98) [0x55b3c1356d98] 27 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x55b3c134511c] 28 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55b3c13448d5] 29 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9374) [0x55b3c1345374] 30 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x26e) [0x55b3c134499e] 31 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9374) [0x55b3c1345374] 32 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcea0) [0x55b3c1358ea0] 33 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd559) [0x55b3c1349559] 34 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x55b3c134511c] 35 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55b3c13448d5] 36 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0a39) [0x55b3c135ca39] 37 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff2b) [0x55b3c135bf2b] 38 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc97f7) [0x55b3c13457f7] 39 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x55b3c1344d28] 40 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9374) [0x55b3c1345374] 41 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcea0) [0x55b3c1358ea0] 42 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd559) [0x55b3c1349559] 43 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x55b3c134511c] 44 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55b3c13448d5] 45 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0a39) [0x55b3c135ca39] 46 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff2b) [0x55b3c135bf2b] 47 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc97f7) [0x55b3c13457f7] 48 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x55b3c1344d28] 49 /data/gannet/ripley/R/test-clang/rlang/libs/rlang.so(+0x4983) [0x7ff499ebd983] 50 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8d603) [0x55b3c1309603] 51 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcfb54) [0x55b3c134bb54] 52 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc911c) [0x55b3c134511c] 53 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55b3c13448d5] 54 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0a39) [0x55b3c135ca39] 55 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdff2b) [0x55b3c135bf2b] 56 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc97f7) [0x55b3c13457f7] 57 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x55b3c1344d28] 58 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe5d98) [0x55b3c1361d98] 59 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55b3c1344b00] 60 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe508b) [0x55b3c136108b] 61 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55b3c1344b00] ================================= *** caught segfault *** address 0x4d2000d5904, cause 'unknown' Traceback: 1: rapi_execute(stmt, convert_opts) 2: withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}) 3: doTryCatch(return(expr), name, parentenv, handler) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5: tryCatchList(expr, classes, parentenv, handlers) 6: tryCatch(withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}), stackOverflowError = handlers[[1L]]) 7: rlang::try_fetch(rapi_execute(stmt, convert_opts), error = function(e) { rethrow_error_from_rapi(e, call)}) 8: rethrow_rapi_execute(res@stmt_lst$ref, duckdb_convert_opts_impl(res@connection@convert_opts, arrow = res@arrow)) 9: duckdb_execute(res) 10: duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 11: .local(conn, statement, ...) 12: dbSendQuery(conn, statement, ...) 13: dbSendQuery(conn, statement, ...) 14: dbSendStatement(conn, statement, ...) 15: dbSendStatement(conn, statement, ...) 16: DBI::dbExecute(conn, query) 17: DBI::dbExecute(conn, query) 18: loadSpatial(conn = conn) 19: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 20: suppressMessages(loadSpatial(conn = conn)) 21: dbSpatial(conn = duckdb_conn, name = "test_points", value = test_data, x_colName = "x", y_colName = "y", overwrite = TRUE) 22: eval(expr, envir) 23: eval(expr, envir) 24: withVisible(eval(expr, envir)) 25: withCallingHandlers(code, error = function (e) rlang::entrace(e), message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 26: eval(call) 27: eval(call) 28: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 29: doWithOneRestart(return(expr), restart) 30: withOneRestart(expr, restarts[[1L]]) 31: withRestartList(expr, restarts[-nr]) 32: doWithOneRestart(return(expr), restart) 33: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 34: withRestartList(expr, restarts) 35: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 36: evaluate::evaluate(...) 37: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 38: in_dir(input_dir(), expr) 39: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 40: eng_r(options) 41: block_exec(params) 42: call_block(x) 43: process_group(group) 44: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }) 45: with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())) 46: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) }), list(rlang_trace_top_env = knit_global())), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 47: process_file(text, output) 48: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 49: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 50: vweave_rmarkdown(...) 51: engine$weave(file, quiet = quiet, encoding = enc) 52: doTryCatch(return(expr), name, parentenv, handler) 53: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 54: tryCatchList(expr, classes, parentenv, handlers) 55: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) }}, error = function(e) { OK <<- FALSE message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 56: tools:::.buildOneVignette("getting_started.Rmd", "/data/gannet/ripley/R/packages/tests-clang/dbSpatial.Rcheck/vign_test/dbSpatial", TRUE, FALSE, "getting_started", "UTF-8", "/tmp/RtmpoVfjlZ/working_dir/RtmpzKqxvj/filed3fd94953f716.rds") An irrecoverable exception occurred. R is aborting now ... --- re-building ‘spatial_operations.Rmd’ using rmarkdown Quitting from spatial_operations.Rmd:24-35 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `duckdb_result()`: ! Invalid Error: Invalid Input Error: Initialization function "spatial_duckdb_cpp_init" from file "/tmp/RtmpoVfjlZ/working_dir/RtmpHwrQp4/filed6bd34f1b5ef8/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension" threw an exception: "Missing DB manager" ℹ Context: rapi_execute ℹ Error type: INVALID --- Backtrace: ▆ 1. └─dbSpatial::dbSpatial(...) 2. ├─base::suppressMessages(loadSpatial(conn = conn)) 3. │ └─base::withCallingHandlers(...) 4. └─dbSpatial::loadSpatial(conn = conn) 5. ├─DBI::dbExecute(conn, query) 6. └─DBI::dbExecute(conn, query) 7. ├─DBI::dbSendStatement(conn, statement, ...) 8. └─DBI::dbSendStatement(conn, statement, ...) 9. ├─DBI::dbSendQuery(conn, statement, ...) 10. └─duckdb::dbSendQuery(conn, statement, ...) 11. └─duckdb (local) .local(conn, statement, ...) 12. └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'spatial_operations.Rmd' failed with diagnostics: Invalid Error: Invalid Input Error: Initialization function "spatial_duckdb_cpp_init" from file "/tmp/RtmpoVfjlZ/working_dir/RtmpHwrQp4/filed6bd34f1b5ef8/R/duckdb/extensions/v1.5.2/linux_amd64/spatial.duckdb_extension" threw an exception: "Missing DB manager" ℹ Context: rapi_execute ℹ Error type: INVALID --- failed re-building ‘spatial_operations.Rmd’ SUMMARY: processing the following files failed: ‘class_structure.Rmd’ ‘getting_started.Rmd’ ‘spatial_operations.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang