CRAN Package Check Results for Package duckspatial

Last updated on 2026-07-18 05:50:18 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 14.62 210.12 224.74 OK
r-devel-linux-x86_64-debian-gcc 1.2.1 9.06 144.17 153.23 OK
r-devel-linux-x86_64-fedora-clang 1.2.1 23.00 272.54 295.54 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.1 10.00 138.03 148.03 OK
r-devel-windows-x86_64 1.2.1 16.00 222.00 238.00 OK
r-patched-linux-x86_64 1.2.1 15.42 196.56 211.98 OK
r-release-linux-x86_64 1.2.1 14.16 186.34 200.50 OK
r-release-macos-arm64 1.2.1 3.00 38.00 41.00 OK
r-release-macos-x86_64 1.2.1 10.00 140.00 150.00 OK
r-release-windows-x86_64 1.2.1 19.00 212.00 231.00 OK
r-oldrel-macos-arm64 1.2.1 3.00 40.00 43.00 OK
r-oldrel-macos-x86_64 1.2.1 9.00 118.00 127.00 OK
r-oldrel-windows-x86_64 1.2.1 22.00 266.00 288.00 OK

Check Details

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/15s] 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(duckspatial) duckspatial 1.2.1 attached * Compatible with DuckDB >= v1.5.4.2 Default output has changed on v1.0.0: duckspatial now returns lazy `duckspatial_df` (dbplyr) objects instead of `sf` objects. To restore the previous behaviour: ddbs_options(mode = 'sf') > library(duckdb) Loading required package: DBI > > test_check("duckspatial") Reading layer `countries' from data source `/data/gannet/ripley/R/packages/tests-clang/duckspatial.Rcheck/duckspatial/spatial/countries.geojson' using driver `GeoJSON' Simple feature collection with 257 features and 6 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -178.9125 ymin: -89.9 xmax: 180 ymax: 83.65187 Geodetic CRS: WGS 84 Reading layer `argentina' from data source `/data/gannet/ripley/R/packages/tests-clang/duckspatial.Rcheck/duckspatial/spatial/argentina.geojson' using driver `GeoJSON' Simple feature collection with 1 feature and 6 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: -73.52455 ymin: -52.39755 xmax: -53.62409 ymax: -21.81793 Geodetic CRS: WGS 84 duckdb is keeping downloaded extensions in a temporary directory: ℹ /tmp/RtmpKftY5f/working_dir/RtmpL5W4Kq/duckdb/extensions This is removed when the R session ends, so extensions are re-downloaded each session. ℹ To keep them, point `options(duckdb.extension_directory =)` or the `DUCKDB_EXTENSION_DIRECTORY` environment variable at a permanent path. [gannet:1714836:0:1715771] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x449) ==== backtrace (tid:1715771) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f417fae3df4] 1 /lib64/libucs.so.0(+0x17aed) [0x7f417fae5aed] 2 /lib64/libucs.so.0(+0x17cbd) [0x7f417fae5cbd] 3 /lib64/libc.so.6(+0x1a040) [0x7f4195b28040] 4 /tmp/RtmpKftY5f/working_dir/RtmpL5W4Kq/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196b50) [0x7f4060ccbb50] 5 /tmp/RtmpKftY5f/working_dir/RtmpL5W4Kq/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168728) [0x7f4060c9d728] 6 /tmp/RtmpKftY5f/working_dir/RtmpL5W4Kq/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773544) [0x7f40602a8544] 7 /tmp/RtmpKftY5f/working_dir/RtmpL5W4Kq/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x7718d9) [0x7f40602a68d9] 8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7f40b8e7f85f] 9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7f40b8e7f60a] 10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7f40b9c6d401] 11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7f40ba4a10c8] 12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7f40ba49dca6] 13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7f40ba49d914] 14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7f40ba497570] 15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7f40ba4a432a] 16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1aafe9c) [0x7f40ba4afe9c] 17 /lib64/libc.so.6(+0x71f14) [0x7f4195b7ff14] 18 /lib64/libc.so.6(+0xf532c) [0x7f4195c0332c] ================================= *** caught segfault *** address 0x4d2001a2a94, 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, glue::glue("LOAD {extension};")) 17: DBI::dbExecute(conn, glue::glue("LOAD {extension};")) 18: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 19: suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};"))) 20: doTryCatch(return(expr), name, parentenv, handler) 21: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 22: tryCatchList(expr, classes, parentenv, handlers) 23: tryCatch({ suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};")))}, error = function(e) { cli::cli_abort(c("Failed to load the {extension} extension.", x = conditionMessage(e), i = "The binary may be corrupt or incompatible with this platform/DuckDB version.", i = "Try reinstalling with {.code ddbs_install(extension = '{extension}', upgrade = TRUE)}"))}) 24: ddbs_load(conn, quiet = TRUE) 25: ddbs_create_conn(dbdir = "memory", ...) 26: ddbs_default_conn() 27: as_duckspatial_df.sf(argentina_sf) 28: duckspatial::as_duckspatial_df(argentina_sf) 29: eval(exprs, env) 30: eval(exprs, env) 31: withCallingHandlers(invisible(eval(exprs, env)), error = function(err) { cli::cli_abort("Failed to evaluate {.path {path}}.", parent = err, call = error_call)}) 32: source_file(path, env = env, chdir = chdir, wrap = wrap, shuffle = shuffle, error_call = error_call) 33: FUN(X[[i]], ...) 34: lapply(files, function(path) { source_file(path, env = env, chdir = chdir, wrap = wrap, shuffle = shuffle, error_call = error_call)}) 35: source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 36: source_test_setup(".", env) 37: test_files_setup_state(test_dir, test_package, load_helpers, env) 38: 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) 39: 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) 40: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 41: test_check("duckspatial") An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘aw_interpolation.qmd’ using html <1b>[31m processing file: aw_interpolation.qmd <1b>[39m<1b>[31m[gannet:1718322:0:1719161] Caught signal 11 (Segmentation fault: Sent by the kernel at address (nil)) <1b>[39m<1b>[31m==== backtrace (tid:1719161) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7faf22b9bdf4] 1 /lib64/libucs.so.0(+0x17aed) [0x7faf22b9daed] 2 /lib64/libucs.so.0(+0x17cbd) [0x7faf22b9dcbd] 3 /lib64/libc.so.6(+0x1a040) [0x7faf38c29040] 4 /tmp/RtmpKftY5f/working_dir/RtmpDmS2O9/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196b50) [0x7fae00ccbb50] 5 /tmp/RtmpKftY5f/working_dir/RtmpDmS2O9/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168728) [0x7fae00c9d728] 6 /tmp/RtmpKftY5f/working_dir/RtmpDmS2O9/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773544) [0x7fae002a8544] 7 /tmp/RtmpKftY5f/working_dir/RtmpDmS2O9/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x7718d9) [0x7fae002a68d9] 8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7fae5b27f85f] 9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7fae5b27f60a] 10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7fae5c06d401] 11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7fae5c8a10c8] 12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7fae5c89dca6] 13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7fae5c89d914] 14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7fae5c897570] 15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7fae5c8a432a] 16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1aafe9c) [0x7fae5c8afe9c] 17 /lib64/libc.so.6(+0x71f14) [0x7faf38c80f14] 18 /lib64/libc.so.6(+0xf532c) [0x7faf38d0432c] ================================= *** caught segfault *** address 0x4d2001a3832, 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, glue::glue("LOAD {extension};")) 17: DBI::dbExecute(conn, glue::glue("LOAD {extension};")) 18: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 19: suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};"))) 20: doTryCatch(return(expr), name, parentenv, handler) 21: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 22: tryCatchList(expr, classes, parentenv, handlers) 23: tryCatch({ suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};")))}, error = function(e) { cli::cli_abort(c("Failed to load the {extension} extension.", x = conditionMessage(e), i = "The binary may be corrupt or incompatible with this platform/DuckDB version.", i = "Try reinstalling with {.code ddbs_install(extension = '{extension}', upgrade = TRUE)}"))}) 24: ddbs_load(conn, quiet = TRUE) 25: ddbs_create_conn(dbdir = "memory", ...) 26: ddbs_default_conn() 27: resolve_spatial_connections(target, source, conn, quiet = quiet) 28: ddbs_interpolate_aw(target = grid, source = nc, tid = "target_id", sid = "source_id", extensive = "BIR74", weight = "total", mode = "sf") 29: eval(expr, envir) 30: eval(expr, envir) 31: withVisible(eval(expr, envir)) 32: 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)}) 33: eval(call) 34: eval(call) 35: 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) 36: doWithOneRestart(return(expr), restart) 37: withOneRestart(expr, restarts[[1L]]) 38: withRestartList(expr, restarts[-nr]) 39: doWithOneRestart(return(expr), restart) 40: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 41: withRestartList(expr, restarts) 42: 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) 43: evaluate::evaluate(...) 44: 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)) 45: in_dir(input_dir(), expr) 46: 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))) 47: eng_r(options) 48: block_exec(params) 49: call_block(x) 50: process_group(group) 51: 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) }) 52: 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())) 53: 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) 54: process_file(text, output) 55: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 56: rmarkdown::render(input = input, output_format = output_format, knit_root_dir = knit_root_dir, params = params, run_pandoc = FALSE, envir = env) 57: execute(params$input, params$format, params$tempDir, params$libDir, params$dependencies, params$cwd, params$params, params$resourceDir, params$handledLanguages, params$markdown) 58: .main() An irrecoverable exception occurred. R is aborting now ... <1b>[39m<1b>[33mWARN: Error encountered when rendering files<1b>[39m Error: processing vignette 'aw_interpolation.qmd' failed with diagnostics: ! Error running quarto CLI from R. Caused by error: ! Could not parse cli `{}` expression: ` { .__han…`. Caused by error: ! <text>:1:49: unexpected symbol 1: { .__handler_frame__. <- TRUE .__setup_frame__. ^ --- failed re-building ‘aw_interpolation.qmd’ --- re-building ‘benchmark.qmd’ using html <1b>[31m processing file: benchmark.qmd <1b>[39m<1b>[31moutput file: benchmark.knit.md <1b>[39m<1b>[1mpandoc <1b>[22m to: html output-file: benchmark.html standalone: true embed-resources: true wrap: none default-image-extension: png css: - >- /data/gannet/ripley/R/test-clang/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css variables: {} <1b>[1mmetadata<1b>[22m document-css: false lang: en engines: - path: /data/gannet/ripley/Sources/quarto-1.9.36/share/extension-subtrees/julia-engine/_extensions/julia-engine/julia-engine.js minimal: true theme: none title: Benchmark date: '`r Sys.Date()`' code-annotations: hover urlcolor: blue vignette: | %\VignetteIndexEntry{Benchmark} %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} knitr: opts_chunk: collapse: true comment: '#>' out.width: 100% Output created: benchmark.html --- finished re-building ‘benchmark.qmd’ --- re-building ‘duckspatial.qmd’ using html <1b>[31m processing file: duckspatial.qmd <1b>[39m<1b>[31m[gannet:1722840:0:1722840] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x4fc8) <1b>[39m<1b>[31m==== backtrace (tid:1722840) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f777cfe4df4] 1 /lib64/libucs.so.0(+0x17aed) [0x7f777cfe6aed] 2 /lib64/libucs.so.0(+0x17cbd) [0x7f777cfe6cbd] 3 /lib64/libc.so.6(+0x1a040) [0x7f7796528040] 4 /tmp/RtmpKftY5f/working_dir/RtmproOehm/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196b50) [0x7f7648ccbb50] 5 /tmp/RtmpKftY5f/working_dir/RtmproOehm/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168728) [0x7f7648c9d728] 6 /tmp/RtmpKftY5f/working_dir/RtmproOehm/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773544) [0x7f76482a8544] 7 /tmp/RtmpKftY5f/working_dir/RtmproOehm/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x7718d9) [0x7f76482a68d9] 8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7f778187f85f] 9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7f778187f60a] 10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7f778266d401] 11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7f7782ea10c8] 12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7f7782e9dca6] 13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x112) [0x7f7782e9d8d2] 14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7f7782e97570] 15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb8Executor11ExecuteTaskEb+0x1c0) [0x7f7782e9c8d0] 16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext19ExecuteTaskInternalERNS_17ClientContextLockERNS_15BaseQueryResultEb+0x40) [0x7f7782ca8c60] 17 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb18PendingQueryResult15ExecuteInternalERNS_17ClientContextLockE+0x7a) [0x7f7782cab3ba] 18 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13ClientContext7ExecuteERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS_10shared_ptrINS_21PreparedStatementDataELb1EEERKNS_22PendingQueryParametersE+0xa0) [0x7f7782cab100] 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) [0x7f7782cce3a3] 20 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb17PreparedStatement7ExecuteERNS_6vectorINS_5ValueELb1ENSt3__19allocatorIS2_EEEEb+0x172) [0x7f7782cce642] 21 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1087fc) [0x7f77815087fc] 22 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_duckdb_rapi_execute+0x63) [0x7f7781572f73] 23 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8f594) [0x55e4629a3594] 24 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdae78) [0x55e4629eee78] 25 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc91fc) [0x55e4629dd1fc] 26 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55e4629dc9b5] 27 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9454) [0x55e4629dd454] 28 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x26e) [0x55e4629dca7e] 29 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9454) [0x55e4629dd454] 30 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcf80) [0x55e4629f0f80] 31 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd639) [0x55e4629e1639] 32 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc91fc) [0x55e4629dd1fc] 33 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55e4629dc9b5] 34 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0b19) [0x55e4629f4b19] 35 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe000b) [0x55e4629f400b] 36 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc98d7) [0x55e4629dd8d7] 37 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x55e4629dce08] 38 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc9454) [0x55e4629dd454] 39 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdcf80) [0x55e4629f0f80] 40 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcd639) [0x55e4629e1639] 41 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc91fc) [0x55e4629dd1fc] 42 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55e4629dc9b5] 43 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0b19) [0x55e4629f4b19] 44 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe000b) [0x55e4629f400b] 45 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc98d7) [0x55e4629dd8d7] 46 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x55e4629dce08] 47 /data/gannet/ripley/R/test-clang/rlang/libs/rlang.so(+0x4993) [0x7f7793877993] 48 /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8d6e3) [0x55e4629a16e3] 49 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcfc34) [0x55e4629e3c34] 50 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc91fc) [0x55e4629dd1fc] 51 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55e4629dc9b5] 52 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0b19) [0x55e4629f4b19] 53 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe000b) [0x55e4629f400b] 54 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc98d7) [0x55e4629dd8d7] 55 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f8) [0x55e4629dce08] 56 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe5e78) [0x55e4629f9e78] 57 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55e4629dcbe0] 58 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe516b) [0x55e4629f916b] 59 /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55e4629dcbe0] 60 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe0b19) [0x55e4629f4b19] 61 /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe000b) [0x55e4629f400b] ================================= *** caught segfault *** address 0x4d2001a49d8, cause 'unknown' <1b>[39m<1b>[31m 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, glue::glue("LOAD {extension};")) 17: DBI::dbExecute(conn, glue::glue("LOAD {extension};")) 18: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 19: suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};"))) 20: doTryCatch(return(expr), name, parentenv, handler) 21: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 22: tryCatchList(expr, classes, parentenv, handlers) 23: tryCatch({ suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};")))}, error = function(e) { cli::cli_abort(c("Failed to load the {extension} extension.", x = conditionMessage(e), i = "The binary may be corrupt or incompatible with this platform/DuckDB version.", i = "Try reinstalling with {.code ddbs_install(extension = '{extension}', upgrade = TRUE)}"))}) 24: ddbs_load(conn, quiet = TRUE) 25: ddbs_create_conn(dbdir = "memory", ...) 26: ddbs_default_conn() 27: ddbs_open_dataset(system.file("spatial/countries.geojson", package = "duckspatial")) 28: eval(expr, envir) 29: eval(expr, envir) 30: withVisible(eval(expr, envir)) 31: 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) {<1b>[39m<1b>[31m if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) {<1b>[39m<1b>[31m 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)}) 32: eval(call) 33: eval(call) 34: 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) 35: doWithOneRestart(return(expr), restart) 36: withOneRestart(expr, restarts[[1L]]) 37: withRestartList(expr, restarts[-nr]) 38: doWithOneRestart(return(expr), restart) 39: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 40: withRestartList(expr, restarts) 41: 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) 42: evaluate::evaluate(...) 43: 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)) 44: in_dir(input_dir(), expr) 45: 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))) 46: eng_r(options) 47: block_exec(params) 48: call_block(x) 49: process_group(group) 50: 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) }) 51: 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())) 52: 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) 53: process_file(text, output) 54: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 55: rmarkdown::render(input = input, output_format = output_format, knit_root_dir = knit_root_dir, params = params, run_pandoc = FALSE, envir = env) 56: execute(params$input, params$format, params$tempDir, params$libDir, params$dependencies, params$cwd, params$params, params$resourceDir, params$handledLanguages, params$markdown) 57: .main() An irrecoverable exception occurred. R is aborting now ... <1b>[39m<1b>[33mWARN: Error encountered when rendering files<1b>[39m Error: processing vignette 'duckspatial.qmd' failed with diagnostics: ! Error running quarto CLI from R. Caused by error: ! Could not parse cli `{}` expression: ` { .__han…`. Caused by error: ! <text>:1:49: unexpected symbol 1: { .__handler_frame__. <- TRUE .__setup_frame__. ^ --- failed re-building ‘duckspatial.qmd’ --- re-building ‘spatial_joins.qmd’ using html <1b>[31m processing file: spatial_joins.qmd <1b>[39m<1b>[31m[gannet:1725866:0:1726343] Caught signal 11 (Segmentation fault: Sent by the kernel at address (nil)) <1b>[39m<1b>[31m==== backtrace (tid:1726343) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7fcb258e3df4] 1 /lib64/libucs.so.0(+0x17aed) [0x7fcb258e5aed] 2 /lib64/libucs.so.0(+0x17cbd) [0x7fcb258e5cbd] 3 /lib64/libc.so.6(+0x1a040) [0x7fcb3c528040] 4 /tmp/RtmpKftY5f/working_dir/RtmpzN5TJU/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196b50) [0x7fc9fcccbb50] 5 /tmp/RtmpKftY5f/working_dir/RtmpzN5TJU/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168728) [0x7fc9fcc9d728] 6 /tmp/RtmpKftY5f/working_dir/RtmpzN5TJU/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773544) [0x7fc9fc2a8544] 7 /tmp/RtmpKftY5f/working_dir/RtmpzN5TJU/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x7718d9) [0x7fc9fc2a68d9] 8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7fca5ec7f85f] 9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7fca5ec7f60a] 10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7fca5fa6d401] 11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7fca602a10c8] 12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7fca6029dca6] 13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7fca6029d914] 14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7fca60297570] 15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7fca602a432a] 16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1aafe9c) [0x7fca602afe9c] 17 /lib64/libc.so.6(+0x71f14) [0x7fcb3c57ff14] 18 /lib64/libc.so.6(+0xf532c) [0x7fcb3c60332c] ================================= *** caught segfault *** address 0x4d2001a55aa, 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, glue::glue("LOAD {extension};")) 17: DBI::dbExecute(conn, glue::glue("LOAD {extension};")) 18: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 19: suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};"))) 20: doTryCatch(return(expr), name, parentenv, handler) 21: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 22: tryCatchList(expr, classes, parentenv, handlers) 23: tryCatch({ suppressMessages(DBI::dbExecute(conn, glue::glue("LOAD {extension};")))}, error = function(e) { cli::cli_abort(c("Failed to load the {extension} extension.", x = conditionMessage(e), i = "The binary may be corrupt or incompatible with this platform/DuckDB version.", i = "Try reinstalling with {.code ddbs_install(extension = '{extension}', upgrade = TRUE)}"))}) 24: ddbs_load(conn, quiet = TRUE) 25: ddbs_create_conn(dbdir = "memory", ...) 26: ddbs_default_conn() 27: resolve_spatial_connections(x, y, conn, conn_x, conn_y, quiet = quiet) 28: ddbs_join(x = points_sf, y = countries_sf, join = "within") 29: eval(expr, envir) 30: eval(expr, envir) 31: withVisible(eval(expr, envir)) 32: 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)}) 33: eval(call) 34: eval(call) 35: 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) 36: doWithOneRestart(return(expr), restart) 37: withOneRestart(expr, restarts[[1L]]) 38: withRestartList(expr, restarts[-nr]) 39: doWithOneRestart(return(expr), restart) 40: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 41: withRestartList(expr, restarts) 42: 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) 43: evaluate::evaluate(...) 44: 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)) 45: in_dir(input_dir(), expr) 46: 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))) 47: eng_r(options) 48: block_exec(params) 49: call_block(x) 50: process_group(group) 51: 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) }) 52: 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())) 53: 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) 54: process_file(text, output) 55: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 56: rmarkdown::render(input = input, output_format = output_format, knit_root_dir = knit_root_dir, params = params, run_pandoc = FALSE, envir = env) 57: execute(params$input, params$format, params$tempDir, params$libDir, params$dependencies, params$cwd, params$params, params$resourceDir, params$handledLanguages, params$markdown) 58: .main() An irrecoverable exception occurred. R is aborting now ... <1b>[39m<1b>[33mWARN: Error encountered when rendering files<1b>[39m Error: processing vignette 'spatial_joins.qmd' failed with diagnostics: ! Error running quarto CLI from R. Caused by error: ! Could not parse cli `{}` expression: ` { .__han…`. Caused by error: ! <text>:1:49: unexpected symbol 1: { .__handler_frame__. <- TRUE .__setup_frame__. ^ --- failed re-building ‘spatial_joins.qmd’ SUMMARY: processing the following files failed: ‘aw_interpolation.qmd’ ‘duckspatial.qmd’ ‘spatial_joins.qmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang