Last updated on 2026-07-11 20:50:20 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.1 | 15.29 | 172.14 | 187.43 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.2.1 | 8.76 | 123.31 | 132.07 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.2.1 | 25.00 | 270.75 | 295.75 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.1 | 25.00 | 340.51 | 365.51 | OK | |
| r-devel-windows-x86_64 | 1.2.1 | 17.00 | 209.00 | 226.00 | OK | |
| r-patched-linux-x86_64 | 1.2.1 | 17.90 | 163.80 | 181.70 | ERROR | |
| r-release-linux-x86_64 | 1.2.0 | 12.97 | 160.62 | 173.59 | ERROR | |
| 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 | 21.00 | 214.00 | 235.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 | 23.00 | 262.00 | 285.00 | OK |
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/6s]
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
`/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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
`/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-1cc3cae4-c913-4185-b8a2-c5add696e96d.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─testthat::test_check("duckspatial")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_serial(...)
5. └─testthat:::test_files_setup_state(...)
6. └─testthat::source_test_setup(".", env)
7. └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. └─base::lapply(...)
9. └─testthat (local) FUN(X[[i]], ...)
10. └─testthat::source_file(...)
11. ├─base::withCallingHandlers(...)
12. └─base::eval(exprs, env)
13. └─base::eval(exprs, env)
14. ├─duckspatial::as_duckspatial_df(argentina_sf) at ./setup.R:15:1
15. └─duckspatial:::as_duckspatial_df.sf(argentina_sf)
16. └─duckspatial:::ddbs_default_conn()
17. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
18. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
19. └─cli::cli_abort(...)
20. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-2d636233-4c31-478d-aa4d-99b8455830e6.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-2d636233-4c31-478d-aa4d-99b8455830e6.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<1b>[39m<1b>[31mExecution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: aw_interpolation.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-2d636233-4c31-478d-aa4d-99b8455830e6.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-2d636233-4c31-478d-aa4d-99b8455830e6.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<1b>[31mExecution halted<1b>[39m
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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:
- >-
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css
variables: {}
<1b>[1mmetadata<1b>[22m
document-css: false
lang: en
engines:
- path: /opt/quarto/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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[39m<1b>[31mme/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-4dffae76-d980-4076-a264-c5a2a2a070ad.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error:<1b>[39m<1b>[31m IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/s<1b>[39m<1b>[31mpatial.duckdb_extension.tmp-4dffae76-d980-4076-a264-c5a2a2a070ad.duckdb_extension":
Read-only file system ℹ Context: rapi_ex<1b>[39m<1b>[31mecute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: duckspatial.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[31mme/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-4dffae76-d980-4076-a264-c5a2a2a070ad.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error:<1b>[31m IO Error: Cannot open file<1b>[39m
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/s<1b>[31mpatial.duckdb_extension.tmp-4dffae76-d980-4076-a264-c5a2a2a070ad.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_ex<1b>[31mecute ℹ Error type: INVALID<1b>[39m
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- failed re-building ‘duckspatial.qmd’
--- re-building ‘spatial_joins.qmd’ using html
<1b>[31m
processing file: spatial_joins.qmd
<1b>[39m<1b>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-8cfbd158-ee76-4884-912a-166e7f2a89fe.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-8cfbd158-ee76-4884-912a-166e7f2a89fe.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: spatial_joins.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-8cfbd158-ee76-4884-912a-166e7f2a89fe.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-8cfbd158-ee76-4884-912a-166e7f2a89fe.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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-debian-clang
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/4s]
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
`/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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
`/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-f139c5e4-97fe-4369-869e-9223dc4fee52.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─testthat::test_check("duckspatial")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_serial(...)
5. └─testthat:::test_files_setup_state(...)
6. └─testthat::source_test_setup(".", env)
7. └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. └─base::lapply(...)
9. └─testthat (local) FUN(X[[i]], ...)
10. └─testthat::source_file(...)
11. ├─base::withCallingHandlers(...)
12. └─base::eval(exprs, env)
13. └─base::eval(exprs, env)
14. ├─duckspatial::as_duckspatial_df(argentina_sf) at ./setup.R:15:1
15. └─duckspatial:::as_duckspatial_df.sf(argentina_sf)
16. └─duckspatial:::ddbs_default_conn()
17. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
18. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
19. └─cli::cli_abort(...)
20. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[39m<1b>[31mme/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-7fdfb7b1-0a34-445f-8272-5d02541ac201.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid E<1b>[39m<1b>[31mrror: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd6<1b>[39m<1b>[31m4/spatial.duckdb_extension.tmp-7fdfb7b1-0a34-445f-8272-5d02541ac201.duckdb_extension":
Read-only file system ℹ Context: rapi<1b>[39m<1b>[31m_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: aw_interpolation.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[31mme/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-7fdfb7b1-0a34-445f-8272-5d02541ac201.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid E<1b>[31mrror: IO Error: Cannot open file<1b>[39m
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd6<1b>[31m4/spatial.duckdb_extension.tmp-7fdfb7b1-0a34-445f-8272-5d02541ac201.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi<1b>[31m_execute ℹ Error type: INVALID<1b>[39m
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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:
- >-
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css
variables: {}
<1b>[1mmetadata<1b>[22m
document-css: false
lang: en
engines:
- path: /opt/quarto/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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-321895b2-25be-4fb6-b06e-1288a2e3deec.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-321895b2-25be-4fb6-b06e-1288a2e3deec.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: duckspatial.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-321895b2-25be-4fb6-b06e-1288a2e3deec.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-321895b2-25be-4fb6-b06e-1288a2e3deec.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- failed re-building ‘duckspatial.qmd’
--- re-building ‘spatial_joins.qmd’ using html
<1b>[31m
processing file: spatial_joins.qmd
<1b>[39m<1b>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-5580629e-31d5-462c-b03e-910323781375.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-5580629e-31d5-462c-b03e-910323781375.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: spatial_joins.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-5580629e-31d5-462c-b03e-910323781375.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-5580629e-31d5-462c-b03e-910323781375.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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-debian-gcc
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/16s]
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/Rtmpf8gBc2/working_dir/RtmpVPRw9W/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:3073599:0:3073906] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x449)
==== backtrace (tid:3073906) ====
0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f135419bdf4]
1 /lib64/libucs.so.0(+0x17aed) [0x7f135419daed]
2 /lib64/libucs.so.0(+0x17cbd) [0x7f135419dcbd]
3 /lib64/libc.so.6(+0x1a040) [0x7f1369528040]
4 /tmp/Rtmpf8gBc2/working_dir/RtmpVPRw9W/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196b50) [0x7f1230ccbb50]
5 /tmp/Rtmpf8gBc2/working_dir/RtmpVPRw9W/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168728) [0x7f1230c9d728]
6 /tmp/Rtmpf8gBc2/working_dir/RtmpVPRw9W/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773544) [0x7f12302a8544]
7 /tmp/Rtmpf8gBc2/working_dir/RtmpVPRw9W/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x7718d9) [0x7f12302a68d9]
8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7f128c87f85f]
9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7f128c87f60a]
10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7f128d66d401]
11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7f128dea10c8]
12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7f128de9dca6]
13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7f128de9d914]
14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7f128de97570]
15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7f128dea432a]
16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1aafe9c) [0x7f128deafe9c]
17 /lib64/libc.so.6(+0x71f14) [0x7f136957ff14]
18 /lib64/libc.so.6(+0xf532c) [0x7f136960332c]
=================================
*** caught segfault ***
address 0x4d2002ee63f, 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:3076860:0:3077519] Caught signal 11 (Segmentation fault: Sent by the kernel at address (nil))
<1b>[39m<1b>[31m==== backtrace (tid:3077519) ====
0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f003e5e4df4]
1 /lib64/libucs.so.0(+0x17aed) [0x7f003e5e6aed]
2 /lib64/libucs.so.0(+0x17cbd) [0x7f003e5e6cbd]
3 /lib64/libc.so.6(+0x1a040) [0x7f0054c29040]
4 /tmp/Rtmpf8gBc2/working_dir/RtmpjH4Dfx/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196b50) [0x7eff24ccbb50]
5 /tmp/Rtmpf8gBc2/working_dir/RtmpjH4Dfx/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168728) [0x7eff24c9d728]
6 /tmp/Rtmpf8gBc2/working_dir/RtmpjH4Dfx/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773544) [0x7eff242a8544]
7 /tmp/Rtmpf8gBc2/working_dir/RtmpjH4Dfx/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x7718d9) [0x7eff242a68d9]
8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7eff7727f85f]
9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7eff7727f60a]
10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7eff7806d401]
11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7eff788a10c8]
12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7eff7889dca6]
13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7eff7889d914]
14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7eff78897570]
15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7eff788a432a]
16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1aafe9c) [0x7eff788afe9c]
17 /lib64/libc.so.6(+0x71f14) [0x7f0054c80f14]
18 /lib64/libc.so.6(+0xf532c) [0x7f0054d0432c]
=================================
*** caught segfault ***
address 0x4d2002ef2fc, 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>[31mError in `value[[3L]]()`:
! Failed to load the spatial extension.
✖ Invalid Error: Invalid Input Error: Initialization functio<1b>[39m<1b>[31mn
"spatial_duckdb_cpp_init" from file
"/tmp/Rtmpf8gBc2/working_dir/RtmpA0NHkN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension"
threw an exception: "Missing DB manager" ℹ Context: rapi_execute ℹ Error
type: INVALID
ℹ The binary may be corrupt or incompatible with this platform/DuckDB version.
ℹ Try reinstalling with `ddbs_install(extension = 'spatial', upgrade = TRUE)`
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_load(conn, quiet = TRUE)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `value[[3L]]()`:
! Failed to load the spatial extension.
✖ Invalid Error: Invalid Input Error: Initialization function
"spatial_duckdb_cpp_init" from file
"/tmp/Rtmpf8gBc2/working_dir/RtmpA0NHkN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension"
threw an exception: "Missing DB manager" ℹ Context: rapi_execute ℹ Error
type: INVALID
ℹ The binary may be corrupt or incompatible with this platform/DuckDB version.
ℹ Try reinstalling with `ddbs_install(extension = 'spatial', upgrade = TRUE)`
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_load(conn, quiet = TRUE)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: duckspatial.qmd
<1b>[31mError in `value[[3L]]()`:<1b>[39m
! Failed to load the spatial extension.
✖ Invalid Error: Invalid Input Error: Initialization functio<1b>[31mn<1b>[39m
"spatial_duckdb_cpp_init" from file
"/tmp/Rtmpf8gBc2/working_dir/RtmpA0NHkN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension"
threw an exception: "Missing DB manager" ℹ Context: rapi_execute ℹ Error
type: INVALID
ℹ The binary may be corrupt or incompatible with this platform/DuckDB
version.
ℹ Try reinstalling with `ddbs_install(extension = 'spatial', upgrade = TRUE)`
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_load(conn, quiet = TRUE)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `value[[3L]]()`:
! Failed to load the spatial extension.
✖ Invalid Error: Invalid Input Error: Initialization function
"spatial_duckdb_cpp_init" from file
"/tmp/Rtmpf8gBc2/working_dir/RtmpA0NHkN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension"
threw an exception: "Missing DB manager" ℹ Context: rapi_execute ℹ Error
type: INVALID
ℹ The binary may be corrupt or incompatible with this platform/DuckDB
version.
ℹ Try reinstalling with `ddbs_install(extension = 'spatial', upgrade = TRUE)`
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_load(conn, quiet = TRUE)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- failed re-building ‘duckspatial.qmd’
--- re-building ‘spatial_joins.qmd’ using html
<1b>[31m
processing file: spatial_joins.qmd
<1b>[39m<1b>[31m[gannet:3084170:0:3085143] Caught signal 11 (Segmentation fault: Sent by the kernel at address (nil))
<1b>[39m<1b>[31m==== backtrace (tid:3085143) ====
0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f562f5e4df4]
1 /lib64/libucs.so.0(+0x17aed) [0x7f562f5e6aed]
2 /lib64/libucs.so.0(+0x17cbd) [0x7f562f5e6cbd]
3 /lib64/libc.so.6(+0x1a040) [0x7f5645c29040]
4 /tmp/Rtmpf8gBc2/working_dir/RtmpQUPhAN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1196b50) [0x7f5514ccbb50]
5 /tmp/Rtmpf8gBc2/working_dir/RtmpQUPhAN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x1168728) [0x7f5514c9d728]
6 /tmp/Rtmpf8gBc2/working_dir/RtmpQUPhAN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x773544) [0x7f55142a8544]
7 /tmp/Rtmpf8gBc2/working_dir/RtmpQUPhAN/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension(+0x7718d9) [0x7f55142a68d9]
8 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper29LoadExternalExtensionInternalERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS_19ExtensionActiveLoadE+0x18f) [0x7f556827f85f]
9 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb15ExtensionHelper21LoadExternalExtensionERNS_16DatabaseInstanceERNS_10FileSystemERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+0x4a) [0x7f556827f60a]
10 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZNK6duckdb12PhysicalLoad15GetDataInternalERNS_16ExecutionContextERNS_9DataChunkERNS_19OperatorSourceInputE+0x151) [0x7f556906d401]
11 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor15FetchFromSourceERNS_9DataChunkE+0x98) [0x7f55698a10c8]
12 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb16PipelineExecutor7ExecuteEm+0x146) [0x7f556989dca6]
13 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12PipelineTask11ExecuteTaskENS_17TaskExecutionModeE+0x154) [0x7f556989d914]
14 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb12ExecutorTask7ExecuteENS_17TaskExecutionModeE+0xa0) [0x7f5569897570]
15 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_ZN6duckdb13TaskScheduler14ExecuteForeverEPNSt3__16atomicIbEE+0x39a) [0x7f55698a432a]
16 /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1aafe9c) [0x7f55698afe9c]
17 /lib64/libc.so.6(+0x71f14) [0x7f5645c80f14]
18 /lib64/libc.so.6(+0xf532c) [0x7f5645d0432c]
=================================
*** caught segfault ***
address 0x4d2002f0f8a, 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
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/7s]
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
`/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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
`/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-68f85836-c39b-4893-8971-e8616ccb34fb.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─testthat::test_check("duckspatial")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_serial(...)
5. └─testthat:::test_files_setup_state(...)
6. └─testthat::source_test_setup(".", env)
7. └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. └─base::lapply(...)
9. └─testthat (local) FUN(X[[i]], ...)
10. └─testthat::source_file(...)
11. ├─base::withCallingHandlers(...)
12. └─base::eval(exprs, env)
13. └─base::eval(exprs, env)
14. ├─duckspatial::as_duckspatial_df(argentina_sf) at ./setup.R:15:1
15. └─duckspatial:::as_duckspatial_df.sf(argentina_sf)
16. └─duckspatial:::ddbs_default_conn()
17. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
18. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
19. └─cli::cli_abort(...)
20. └─rlang::abort(...)
Execution halted
Flavor: r-patched-linux-x86_64
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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[39m<1b>[31mme/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-a43ee2e9-542b-4e5b-9cfc-d62da529f1bd.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid E<1b>[39m<1b>[31mrror: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_am<1b>[39m<1b>[31md64/spatial.duckdb_extension.tmp-a43ee2e9-542b-4e5b-9cfc-d62da529f1bd.duckdb_extension":
Read-only file system ℹ Context: ra<1b>[39m<1b>[31mpi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"<1b>[39m<1b>[31mhttp://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: aw_interpolation.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[31mme/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-a43ee2e9-542b-4e5b-9cfc-d62da529f1bd.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid E<1b>[31mrror: IO Error: Cannot open file<1b>[39m
"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_am<1b>[31md64/spatial.duckdb_extension.tmp-a43ee2e9-542b-4e5b-9cfc-d62da529f1bd.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: ra<1b>[31mpi_execute ℹ Error type: INVALID<1b>[39m
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"<1b>[31mhttp://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"<1b>[39m
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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:
- >-
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css
variables: {}
<1b>[1mmetadata<1b>[22m
document-css: false
lang: en
engines:
- path: /opt/quarto/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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[39m<1b>[31mme/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-3ad13e69-d015-41ac-a678-e8c15c0e0674.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error:<1b>[39m<1b>[31m IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/s<1b>[39m<1b>[31mpatial.duckdb_extension.tmp-3ad13e69-d015-41ac-a678-e8c15c0e0674.duckdb_extension":
Read-only file system ℹ Context: rapi_ex<1b>[39m<1b>[31mecute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http:<1b>[39m<1b>[31m//community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existin<1b>[39m<1b>[31mg extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_a<1b>[39m<1b>[31mmd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of Duc<1b>[39m<1b>[31mkDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: duckspatial.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[31mme/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-3ad13e69-d015-41ac-a678-e8c15c0e0674.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error:<1b>[31m IO Error: Cannot open file<1b>[39m
"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/s<1b>[31mpatial.duckdb_extension.tmp-3ad13e69-d015-41ac-a678-e8c15c0e0674.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_ex<1b>[31mecute ℹ Error type: INVALID<1b>[39m
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http:<1b>[31m//community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"<1b>[39m
(HTTP 404) Extension "spatial" is an existin<1b>[31mg extension. For more info,<1b>[39m
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_a<1b>[31mmd64&extension=spatial<1b>[39m
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of Duc<1b>[31mkDB, or the install<1b>[39m
<1b>[31mlocation<1b>[39m
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- failed re-building ‘duckspatial.qmd’
--- re-building ‘spatial_joins.qmd’ using html
<1b>[31m
processing file: spatial_joins.qmd
<1b>[39m<1b>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[39m<1b>[31mme/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-12697cc8-d426-438b-80c7-63467e468492.duckdb_extension":
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Erro<1b>[39m<1b>[31mr: IO Error: Cannot open file
"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64<1b>[39m<1b>[31m/spatial.duckdb_extension.tmp-12697cc8-d426-438b-80c7-63467e468492.duckdb_extension":
Read-only file system ℹ Context: rapi_<1b>[39m<1b>[31mexecute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension "spatial"
at URL
"htt<1b>[39m<1b>[31mp://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: spatial_joins.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
✖ core: Invalid Error: IO Error: Cannot open file
"/ho<1b>[31mme/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64/spatial.duckdb_extension.tmp-12697cc8-d426-438b-80c7-63467e468492.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_execute ℹ Error type: INVALID
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"http://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
✖ core: Invalid Erro<1b>[31mr: IO Error: Cannot open file<1b>[39m
"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/duckdb/extensions/v1.5.4/linux_amd64<1b>[31m/spatial.duckdb_extension.tmp-12697cc8-d426-438b-80c7-63467e468492.duckdb_extension":<1b>[39m
Read-only file system ℹ Context: rapi_<1b>[31mexecute ℹ Error type: INVALID<1b>[39m
✖ community: Invalid Error: HTTP Error: Failed to download extension
"spatial"
at URL
"htt<1b>[31mp://community-extensions.duckdb.org/v1.5.4/linux_amd64/spatial.duckdb_extension.gz"<1b>[39m
(HTTP 404) Extension "spatial" is an existing extension. For more info,
visit
https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.4&platform=linux_amd64&extension=spatial
ℹ Context: rapi_execute ℹ Error type: INVALID
ℹ It might not be available for this version of DuckDB, or the install
location
may not be writable.
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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-patched-linux-x86_64
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/6s]
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.0 attached
* Compatible with DuckDB >= v1.5.1
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
`/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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
`/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─testthat::test_check("duckspatial")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_serial(...)
5. └─testthat:::test_files_setup_state(...)
6. └─testthat::source_test_setup(".", env)
7. └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. └─base::lapply(...)
9. └─testthat (local) FUN(X[[i]], ...)
10. └─testthat::source_file(...)
11. ├─base::withCallingHandlers(...)
12. └─base::eval(exprs, env)
13. └─base::eval(exprs, env)
14. ├─duckspatial::as_duckspatial_df(argentina_sf) at ./setup.R:15:1
15. └─duckspatial:::as_duckspatial_df.sf(argentina_sf)
16. └─duckspatial:::ddbs_default_conn()
17. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
18. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
19. └─cli::cli_abort(...)
20. └─rlang::abort(...)
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.2.0
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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: aw_interpolation.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from aw_interpolation.qmd:78-89 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_interpolate_aw(...)
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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:
- >-
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/quarto/rmarkdown/template/quarto_vignette/resources/vignette.css
variables: {}
<1b>[1mmetadata<1b>[22m
document-css: false
lang: en
engines:
- path: /opt/quarto/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>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[39m<1b>[31m~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: duckspatial.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
5. └─cli::cli_abort(...)
6. └─rlang::abort(...)
Quitting from duckspatial.qmd:78-87 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<1b>[31m~~~~~~~~~~~~~<1b>[39m
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_open_dataset(...)
2. └─duckspatial:::ddbs_default_conn()
3. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
4. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- failed re-building ‘duckspatial.qmd’
--- re-building ‘spatial_joins.qmd’ using html
<1b>[31m
processing file: spatial_joins.qmd
<1b>[39m<1b>[31mError in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community reposit<1b>[39m<1b>[31mories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
<1b>[39m<1b>[31m
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<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 in `quarto_render()`:
✖ Error returned by quarto CLI.
-----------------------------
processing file: spatial_joins.qmd
<1b>[31mError in `ddbs_install()`:<1b>[39m
! Failed to install the spatial extension.
ℹ It could not be found in the core or community reposit<1b>[31mories.<1b>[39m
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Quitting from spatial_joins.qmd:77-87 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ddbs_install()`:
! Failed to install the spatial extension.
ℹ It could not be found in the core or community repositories.
ℹ It might not be available for this version of DuckDB
ℹ Check that the extension name is correct:
<https://duckdb.org/docs/extensions/overview>
---
Backtrace:
▆
1. └─duckspatial::ddbs_join(x = points_sf, y = countries_sf, join = "within")
2. └─duckspatial:::resolve_spatial_connections(...)
3. └─duckspatial:::ddbs_default_conn()
4. └─duckspatial::ddbs_create_conn(dbdir = "memory", ...)
5. └─duckspatial::ddbs_install(conn, upgrade = upgrade, quiet = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
<1b>[33mWARN: Error encountered when rendering files<1b>[39m
Caused by error in `processx::run()`:
! System command 'quarto' failed
--- 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-release-linux-x86_64