Last updated on 2026-09-29 13:53:35 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.0 | 14.71 | 374.99 | 389.70 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.0 | 10.72 | 260.92 | 271.64 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 12.00 | 234.07 | 246.07 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 12.00 | 274.91 | 286.91 | OK | |
| r-devel-windows-x86_64 | 0.1.0 | 24.00 | 325.00 | 349.00 | OK | |
| r-patched-linux-x86_64 | 0.1.0 | 16.56 | 344.17 | 360.73 | OK | |
| r-release-linux-x86_64 | 0.1.0 | 15.36 | 342.53 | 357.89 | OK | |
| r-release-macos-arm64 | 0.1.0 | 4.00 | 75.00 | 79.00 | ERROR | |
| r-release-macos-x86_64 | 0.1.0 | 11.00 | 194.00 | 205.00 | ERROR | |
| r-release-windows-x86_64 | 0.1.0 | 22.00 | 243.00 | 265.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | 5.00 | 186.00 | 191.00 | ERROR | |
| r-oldrel-macos-x86_64 | 0.1.0 | 13.00 | 203.00 | 216.00 | ERROR | |
| r-oldrel-windows-x86_64 | 0.1.0 | 29.00 | 304.00 | 333.00 | OK |
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [172s/127s]
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(commons)
>
> test_check("commons")
Starting 2 test processes.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) exten
> test-commons.R: sion could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic ex
> test-commons.R: tension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) exten
> test-commons.R: sion could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-commons.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-commons.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-commons.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-commons.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-commons.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-commons.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) exten
> test-data-source.R: sion could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
Saving _problems/test-commons-422.R
Saving _problems/test-commons-453.R
Saving _problems/test-commons-472.R
> test-pool.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-pool.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-pool.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-pool.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-pool.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-pool.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-pool.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-pool.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-pool.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-pool.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-pool.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-pool.R: i See ?duckdb for details.
> test-pool.R: i This message has been shown 60 times and will not be shown again this session.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) exten
> test-data-source.R: sion could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-data-source.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-data-source.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-data-source.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-data-source.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-data-source.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-data-source.R: i See ?duckdb for details.
> test-trajectory-review.R: Loading required package: shiny
> test-chat.R: Loading required package: shiny
> test-citations.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-citations.R: * Loading a prebuilt (libstdc++) exten
> test-citations.R: sion could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-citations.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-citations.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-citations.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-citations.R: i See ?duckdb for details.
> test-citations.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-citations.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-citations.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-citations.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-citations.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-citations.R: i See ?duckdb for details.
> test-citations.R: duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
> test-citations.R: * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
> test-citations.R: * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
> test-citations.R: i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
> test-citations.R: i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
> test-citations.R: i See ?duckdb for details.
> test-citations.R: i This message has been shown 60 times and will not be shown again this session.
Saving _problems/test-citations-228.R
Saving _problems/test-context-layer-73.R
Saving _problems/test-context-layer-84.R
Saving _problems/test-context-layer-102.R
Saving _problems/test-context-layer-123.R
Saving _problems/test-context-layer-148.R
Saving _problems/test-context-layer-169.R
Saving _problems/test-context-layer-192.R
Saving _problems/test-context-layer-350.R
Saving _problems/test-data-dictionary-465.R
> test-tracing.R: [Warning] File: /tmp/RtmpMkeUd3/R.INSTALL3020791adab403/otelsdk/src/cpp/sdk/src/metrics/metric_reader.cc:36 MetricReader::Collect invoked while Shutdown in progress!
[ FAIL 13 | WARN 16 | SKIP 85 | PASS 7212 ]
══ Skipped tests (85) ══════════════════════════════════════════════════════════
• COMMONS_TEST_CONNECT_VANITY_URL is not set (1): 'test-trajectories.R:1524:3'
• On CRAN (60): 'test-citation-browser.R:11:3',
'test-citation-browser.R:181:3', 'test-citation-browser.R:340:3',
'test-commons.R:162:1', 'test-commons.R:380:1', 'test-commons.R:602:3',
'test-commons.R:630:3', 'test-commons.R:678:3', 'test-commons.R:694:3',
'test-commons.R:763:5', 'test-data-source.R:20:1', 'test-data-source.R:81:1',
'test-data-source.R:249:1', 'test-data-source.R:259:1',
'test-data-source.R:275:1', 'test-data-source.R:294:1',
'test-data-source.R:325:1', 'test-data-source.R:411:1',
'test-data-source.R:488:1', 'test-data-source.R:499:1',
'test-catalog-databricks.R:446:1', 'test-catalog-databricks.R:453:1',
'test-trajectory-review.R:265:1', 'test-catalog-snowflake.R:520:1',
'test-chat.R:93:1', 'test-chat.R:100:1', 'test-connect.R:11:1',
'test-connect.R:71:1', 'test-connect.R:192:1', 'test-connect.R:232:1',
'test-data-dictionary.R:85:1', 'test-data-dictionary.R:113:1',
'test-data-dictionary.R:311:1', 'test-layer-objects.R:61:1',
'test-measures.R:20:1', 'test-measures.R:42:1', 'test-measures.R:79:1',
'test-measures.R:86:1', 'test-measures.R:93:1', 'test-read-measures.R:390:1',
'test-tools.R:413:1', 'test-tracing.R:1:1', 'test-tracing.R:20:1',
'test-tracing.R:25:1', 'test-tracing.R:32:3', 'test-tracing.R:76:1',
'test-tracing.R:105:1', 'test-tracing.R:120:1', 'test-tracing.R:147:1',
'test-tracing.R:183:1', 'test-tracing.R:231:1', 'test-tracing.R:282:3',
'test-trajectory-review-log.R:63:1', 'test-trajectories.R:1064:1',
'test-trajectories.R:1077:1', 'test-trajectories.R:1161:1',
'test-trajectories.R:1191:3', 'test-trajectories.R:1407:1',
'test-trajectories.R:1461:1', 'test-trajectories.R:1536:1'
• On Linux (1): 'test-sandbox.R:69:3'
• Set options(commons.test.databricks = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:406:3', 'test-live-warehouses.R:488:3',
'test-live-warehouses.R:519:3', 'test-live-warehouses.R:559:3',
'test-live-warehouses.R:632:3', 'test-live-warehouses.R:660:3',
'test-live-warehouses.R:743:3'
• Set options(commons.test.databricks.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:508:3'
• Set options(commons.test.databricks.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:613:3'
• Set options(commons.test.snowflake = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:2:3', 'test-live-warehouses.R:100:3',
'test-live-warehouses.R:123:3', 'test-live-warehouses.R:159:3',
'test-live-warehouses.R:199:3', 'test-live-warehouses.R:282:3',
'test-live-warehouses.R:356:3'
• Set options(commons.test.snowflake.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:148:3'
• Set options(commons.test.snowflake.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:320:3'
• Set options(commons.test.snowflake.semantic_view = DBI::Id(...)) to run this
test (1): 'test-live-warehouses.R:286:3'
• Set options(commons.test.snowflake.verified_query_view = DBI::Id(...)) (1):
'test-live-warehouses.R:339:3'
• data-dict CLI is not installed (2): 'test-definition-export.R:148:5',
'test-definition-export.R:172:5'
• not a source checkout (1): 'test-assets-synced.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-commons.R:422:3'): prewarm() builds the context store ahead of the first search ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─agent$prewarm() at test-commons.R:422:3
2. │ └─private$prewarm_context()
3. │ └─commons:::context_store(layer)
4. │ └─commons:::build_context_store(state$docs, path)
5. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
6. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
7. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
8. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
9. │ ├─DBI::dbSendStatement(conn, statement, ...)
10. │ └─DBI::dbSendStatement(conn, statement, ...)
11. │ ├─DBI::dbSendQuery(conn, statement, ...)
12. │ └─duckdb::dbSendQuery(conn, statement, ...)
13. │ └─duckdb (local) .local(conn, statement, ...)
14. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
15. │ ├─rlang::try_fetch(...)
16. │ │ ├─base::tryCatch(...)
17. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
18. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
19. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
20. │ │ └─base::withCallingHandlers(...)
21. │ └─duckdb:::rapi_prepare(conn, query, env)
22. ├─duckdb (local) `<fn>`("load_extension", "")
23. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
24. │ └─rlang:::signal_abort(cnd, .file)
25. │ └─base::signalCondition(cnd)
26. └─rlang (local) `<fn>`(`<dckdb_rr>`)
27. └─handlers[[1L]](cnd)
28. └─duckdb:::rethrow_error_from_rapi(e, call)
29. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-commons.R:453:3'): prewarm() records a cache-miss build and its own span ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─otelsdk::with_otel_record(agent$prewarm()) at test-commons.R:453:3
2. ├─agent$prewarm()
3. │ └─private$prewarm_context()
4. │ └─commons:::context_store(layer)
5. │ └─commons:::build_context_store(state$docs, path)
6. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
7. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
8. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
9. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
10. │ ├─DBI::dbSendStatement(conn, statement, ...)
11. │ └─DBI::dbSendStatement(conn, statement, ...)
12. │ ├─DBI::dbSendQuery(conn, statement, ...)
13. │ └─duckdb::dbSendQuery(conn, statement, ...)
14. │ └─duckdb (local) .local(conn, statement, ...)
15. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
16. │ ├─rlang::try_fetch(...)
17. │ │ ├─base::tryCatch(...)
18. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
19. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
20. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
21. │ │ └─base::withCallingHandlers(...)
22. │ └─duckdb:::rapi_prepare(conn, query, env)
23. ├─duckdb (local) `<fn>`("load_extension", "")
24. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
25. │ └─rlang:::signal_abort(cnd, .file)
26. │ └─base::signalCondition(cnd)
27. └─rlang (local) `<fn>`(`<dckdb_rr>`)
28. └─handlers[[1L]](cnd)
29. └─duckdb:::rethrow_error_from_rapi(e, call)
30. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-commons.R:472:3'): prewarm() records a cache hit without a build span ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─agent$prewarm() at test-commons.R:472:3
2. │ └─private$prewarm_context()
3. │ └─commons:::context_store(layer)
4. │ └─commons:::build_context_store(state$docs, path)
5. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
6. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
7. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
8. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
9. │ ├─DBI::dbSendStatement(conn, statement, ...)
10. │ └─DBI::dbSendStatement(conn, statement, ...)
11. │ ├─DBI::dbSendQuery(conn, statement, ...)
12. │ └─duckdb::dbSendQuery(conn, statement, ...)
13. │ └─duckdb (local) .local(conn, statement, ...)
14. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
15. │ ├─rlang::try_fetch(...)
16. │ │ ├─base::tryCatch(...)
17. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
18. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
19. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
20. │ │ └─base::withCallingHandlers(...)
21. │ └─duckdb:::rapi_prepare(conn, query, env)
22. ├─duckdb (local) `<fn>`("load_extension", "")
23. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
24. │ └─rlang:::signal_abort(cnd, .file)
25. │ └─base::signalCondition(cnd)
26. └─rlang (local) `<fn>`(`<dckdb_rr>`)
27. └─handlers[[1L]](cnd)
28. └─duckdb:::rethrow_error_from_rapi(e, call)
29. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-citations.R:226:3'): search_context requests a citation for fallback answers ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─agent_tool(agent, "search_context")(query = "regeneration baseline") at test-citations.R:226:3
2. │ └─commons:::search_context_tool(private$context_layer, query)
3. │ └─commons:::context_search(context, query)
4. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
5. │ └─commons:::context_store(layer)
6. │ └─commons:::build_context_store(state$docs, path)
7. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
8. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
9. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
10. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
11. │ ├─DBI::dbSendStatement(conn, statement, ...)
12. │ └─DBI::dbSendStatement(conn, statement, ...)
13. │ ├─DBI::dbSendQuery(conn, statement, ...)
14. │ └─duckdb::dbSendQuery(conn, statement, ...)
15. │ └─duckdb (local) .local(conn, statement, ...)
16. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
17. │ ├─rlang::try_fetch(...)
18. │ │ ├─base::tryCatch(...)
19. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
20. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
21. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
22. │ │ └─base::withCallingHandlers(...)
23. │ └─duckdb:::rapi_prepare(conn, query, env)
24. ├─duckdb (local) `<fn>`("load_extension", "")
25. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
26. │ └─rlang:::signal_abort(cnd, .file)
27. │ └─base::signalCondition(cnd)
28. └─rlang (local) `<fn>`(`<dckdb_rr>`)
29. └─handlers[[1L]](cnd)
30. └─duckdb:::rethrow_error_from_rapi(e, call)
31. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:73:3'): context_layer indexes files and finds relevant chunks ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─commons:::context_search(layer, "what does revenue mean") at test-context-layer.R:73:3
2. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
3. │ └─commons:::context_store(layer)
4. │ └─commons:::build_context_store(state$docs, path)
5. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
6. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
7. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
8. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
9. │ ├─DBI::dbSendStatement(conn, statement, ...)
10. │ └─DBI::dbSendStatement(conn, statement, ...)
11. │ ├─DBI::dbSendQuery(conn, statement, ...)
12. │ └─duckdb::dbSendQuery(conn, statement, ...)
13. │ └─duckdb (local) .local(conn, statement, ...)
14. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
15. │ ├─rlang::try_fetch(...)
16. │ │ ├─base::tryCatch(...)
17. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
18. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
19. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
20. │ │ └─base::withCallingHandlers(...)
21. │ └─duckdb:::rapi_prepare(conn, query, env)
22. ├─duckdb (local) `<fn>`("load_extension", "")
23. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
24. │ └─rlang:::signal_abort(cnd, .file)
25. │ └─base::signalCondition(cnd)
26. └─rlang (local) `<fn>`(`<dckdb_rr>`)
27. └─handlers[[1L]](cnd)
28. └─duckdb:::rethrow_error_from_rapi(e, call)
29. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:84:3'): context_search returns empty when nothing matches or store is empty ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─testthat::expect_length(...) at test-context-layer.R:84:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─commons:::context_search(context_layer(files = path), "zzzzz")
5. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
6. │ └─commons:::context_store(layer)
7. │ └─commons:::build_context_store(state$docs, path)
8. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
9. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
10. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
11. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
12. │ ├─DBI::dbSendStatement(conn, statement, ...)
13. │ └─DBI::dbSendStatement(conn, statement, ...)
14. │ ├─DBI::dbSendQuery(conn, statement, ...)
15. │ └─duckdb::dbSendQuery(conn, statement, ...)
16. │ └─duckdb (local) .local(conn, statement, ...)
17. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
18. │ ├─rlang::try_fetch(...)
19. │ │ ├─base::tryCatch(...)
20. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ │ └─base::withCallingHandlers(...)
24. │ └─duckdb:::rapi_prepare(conn, query, env)
25. ├─duckdb (local) `<fn>`("load_extension", "")
26. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
27. │ └─rlang:::signal_abort(cnd, .file)
28. │ └─base::signalCondition(cnd)
29. └─rlang (local) `<fn>`(`<dckdb_rr>`)
30. └─handlers[[1L]](cnd)
31. └─duckdb:::rethrow_error_from_rapi(e, call)
32. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:102:3'): context_layer strips YAML frontmatter before indexing ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─testthat::expect_match(...) at test-context-layer.R:102:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─commons:::context_search(layer, "revenue")
5. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
6. │ └─commons:::context_store(layer)
7. │ └─commons:::build_context_store(state$docs, path)
8. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
9. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
10. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
11. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
12. │ ├─DBI::dbSendStatement(conn, statement, ...)
13. │ └─DBI::dbSendStatement(conn, statement, ...)
14. │ ├─DBI::dbSendQuery(conn, statement, ...)
15. │ └─duckdb::dbSendQuery(conn, statement, ...)
16. │ └─duckdb (local) .local(conn, statement, ...)
17. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
18. │ ├─rlang::try_fetch(...)
19. │ │ ├─base::tryCatch(...)
20. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ │ └─base::withCallingHandlers(...)
24. │ └─duckdb:::rapi_prepare(conn, query, env)
25. ├─duckdb (local) `<fn>`("load_extension", "")
26. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
27. │ └─rlang:::signal_abort(cnd, .file)
28. │ └─base::signalCondition(cnd)
29. └─rlang (local) `<fn>`(`<dckdb_rr>`)
30. └─handlers[[1L]](cnd)
31. └─duckdb:::rethrow_error_from_rapi(e, call)
32. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:123:3'): context_layer leaves a body thematic break intact ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─testthat::expect_match(...) at test-context-layer.R:123:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─commons:::context_search(layer, "discounts")
5. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
6. │ └─commons:::context_store(layer)
7. │ └─commons:::build_context_store(state$docs, path)
8. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
9. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
10. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
11. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
12. │ ├─DBI::dbSendStatement(conn, statement, ...)
13. │ └─DBI::dbSendStatement(conn, statement, ...)
14. │ ├─DBI::dbSendQuery(conn, statement, ...)
15. │ └─duckdb::dbSendQuery(conn, statement, ...)
16. │ └─duckdb (local) .local(conn, statement, ...)
17. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
18. │ ├─rlang::try_fetch(...)
19. │ │ ├─base::tryCatch(...)
20. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ │ └─base::withCallingHandlers(...)
24. │ └─duckdb:::rapi_prepare(conn, query, env)
25. ├─duckdb (local) `<fn>`("load_extension", "")
26. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
27. │ └─rlang:::signal_abort(cnd, .file)
28. │ └─base::signalCondition(cnd)
29. └─rlang (local) `<fn>`(`<dckdb_rr>`)
30. └─handlers[[1L]](cnd)
31. └─duckdb:::rethrow_error_from_rapi(e, call)
32. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:148:3'): the context store persists on disk and is shared across layers ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─testthat::expect_match(...) at test-context-layer.R:148:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─commons:::context_search(layer1, "revenue")
5. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
6. │ └─commons:::context_store(layer)
7. │ └─commons:::build_context_store(state$docs, path)
8. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
9. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
10. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
11. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
12. │ ├─DBI::dbSendStatement(conn, statement, ...)
13. │ └─DBI::dbSendStatement(conn, statement, ...)
14. │ ├─DBI::dbSendQuery(conn, statement, ...)
15. │ └─duckdb::dbSendQuery(conn, statement, ...)
16. │ └─duckdb (local) .local(conn, statement, ...)
17. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
18. │ ├─rlang::try_fetch(...)
19. │ │ ├─base::tryCatch(...)
20. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ │ └─base::withCallingHandlers(...)
24. │ └─duckdb:::rapi_prepare(conn, query, env)
25. ├─duckdb (local) `<fn>`("load_extension", "")
26. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
27. │ └─rlang:::signal_abort(cnd, .file)
28. │ └─base::signalCondition(cnd)
29. └─rlang (local) `<fn>`(`<dckdb_rr>`)
30. └─handlers[[1L]](cnd)
31. └─duckdb:::rethrow_error_from_rapi(e, call)
32. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:169:3'): commons.context_cache = FALSE builds the store in memory ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─testthat::expect_match(...) at test-context-layer.R:169:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─commons:::context_search(layer, "revenue")
5. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
6. │ └─commons:::context_store(layer)
7. │ └─commons:::build_context_store_memory(state$docs)
8. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
9. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
10. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
11. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
12. │ ├─DBI::dbSendStatement(conn, statement, ...)
13. │ └─DBI::dbSendStatement(conn, statement, ...)
14. │ ├─DBI::dbSendQuery(conn, statement, ...)
15. │ └─duckdb::dbSendQuery(conn, statement, ...)
16. │ └─duckdb (local) .local(conn, statement, ...)
17. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
18. │ ├─rlang::try_fetch(...)
19. │ │ ├─base::tryCatch(...)
20. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ │ └─base::withCallingHandlers(...)
24. │ └─duckdb:::rapi_prepare(conn, query, env)
25. ├─duckdb (local) `<fn>`("load_extension", "")
26. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
27. │ └─rlang:::signal_abort(cnd, .file)
28. │ └─base::signalCondition(cnd)
29. └─rlang (local) `<fn>`(`<dckdb_rr>`)
30. └─handlers[[1L]](cnd)
31. └─duckdb:::rethrow_error_from_rapi(e, call)
32. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:189:3'): an unwritable cache dir warns once and falls back to a tempdir ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-context-layer.R:189:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─testthat::expect_match(...)
8. │ └─testthat::quasi_label(enquo(object), label)
9. │ └─rlang::eval_bare(expr, quo_get_env(quo))
10. ├─commons:::context_search(layer, "revenue")
11. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
12. │ └─commons:::context_store(layer)
13. │ └─commons:::build_context_store(state$docs, path)
14. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
15. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
16. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
17. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
18. │ ├─DBI::dbSendStatement(conn, statement, ...)
19. │ └─DBI::dbSendStatement(conn, statement, ...)
20. │ ├─DBI::dbSendQuery(conn, statement, ...)
21. │ └─duckdb::dbSendQuery(conn, statement, ...)
22. │ └─duckdb (local) .local(conn, statement, ...)
23. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
24. │ ├─rlang::try_fetch(...)
25. │ │ ├─base::tryCatch(...)
26. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
27. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
28. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
29. │ │ └─base::withCallingHandlers(...)
30. │ └─duckdb:::rapi_prepare(conn, query, env)
31. ├─duckdb (local) `<fn>`("load_extension", "")
32. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
33. │ └─rlang:::signal_abort(cnd, .file)
34. │ └─base::signalCondition(cnd)
35. └─rlang (local) `<fn>`(`<dckdb_rr>`)
36. └─handlers[[1L]](cnd)
37. └─duckdb:::rethrow_error_from_rapi(e, call)
38. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-context-layer.R:347:3'): context_store() warns and rebuilds when the cached store won't open ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─testthat::expect_warning(store <- context_store(layer), "rebuilding") at test-context-layer.R:347:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─commons:::context_store(layer)
8. │ └─commons:::build_context_store(state$docs, path)
9. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
10. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
11. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
12. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
13. │ ├─DBI::dbSendStatement(conn, statement, ...)
14. │ └─DBI::dbSendStatement(conn, statement, ...)
15. │ ├─DBI::dbSendQuery(conn, statement, ...)
16. │ └─duckdb::dbSendQuery(conn, statement, ...)
17. │ └─duckdb (local) .local(conn, statement, ...)
18. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
19. │ ├─rlang::try_fetch(...)
20. │ │ ├─base::tryCatch(...)
21. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
22. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
23. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
24. │ │ └─base::withCallingHandlers(...)
25. │ └─duckdb:::rapi_prepare(conn, query, env)
26. ├─duckdb (local) `<fn>`("load_extension", "")
27. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
28. │ └─rlang:::signal_abort(cnd, .file)
29. │ └─base::signalCondition(cnd)
30. └─rlang (local) `<fn>`(`<dckdb_rr>`)
31. └─handlers[[1L]](cnd)
32. └─duckdb:::rethrow_error_from_rapi(e, call)
33. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
── Error ('test-data-dictionary.R:465:3'): dictionary prose is searchable via the context layer ──
<duckdb_error/rlang_error/error/condition>
Error in `dbSendQuery(conn, statement, ...)`: DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
i See ?duckdb for details.
i Context: load_extension
Backtrace:
▆
1. ├─commons:::context_search(layer, "average order value") at test-data-dictionary.R:465:3
2. │ ├─ragnar::ragnar_retrieve_bm25(context_store(layer), query, top_k = n)
3. │ └─commons:::context_store(layer)
4. │ └─commons:::build_context_store(state$docs, path)
5. │ └─ragnar::ragnar_store_build_index(store, type = "fts")
6. │ └─ragnar:::ragnar_store_build_index_v2(store, type)
7. │ ├─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
8. │ └─DBI::dbExecute(con, "INSTALL fts; LOAD fts;")
9. │ ├─DBI::dbSendStatement(conn, statement, ...)
10. │ └─DBI::dbSendStatement(conn, statement, ...)
11. │ ├─DBI::dbSendQuery(conn, statement, ...)
12. │ └─duckdb::dbSendQuery(conn, statement, ...)
13. │ └─duckdb (local) .local(conn, statement, ...)
14. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env)
15. │ ├─rlang::try_fetch(...)
16. │ │ ├─base::tryCatch(...)
17. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
18. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
19. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
20. │ │ └─base::withCallingHandlers(...)
21. │ └─duckdb:::rapi_prepare(conn, query, env)
22. ├─duckdb (local) `<fn>`("load_extension", "")
23. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields)
24. │ └─rlang:::signal_abort(cnd, .file)
25. │ └─base::signalCondition(cnd)
26. └─rlang (local) `<fn>`(`<dckdb_rr>`)
27. └─handlers[[1L]](cnd)
28. └─duckdb:::rethrow_error_from_rapi(e, call)
29. └─rlang::abort(msg, class = "duckdb_error", call = call, !!!fields)
[ FAIL 13 | WARN 16 | SKIP 85 | PASS 7212 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [92s/48s]
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(commons)
>
> test_check("commons")
Starting 2 test processes.
> test-trajectory-review.R: Loading required package: shiny
Saving _problems/test-run-r-29.R
Saving _problems/test-run-r-46.R
Saving _problems/test-run-r-47.R
Saving _problems/test-run-r-64.R
Saving _problems/test-run-r-111.R
Saving _problems/test-run-r-125.R
Saving _problems/test-run-r-126.R
Saving _problems/test-run-r-163.R
Saving _problems/test-run-r-195.R
Saving _problems/test-run-r-198.R
Saving _problems/test-run-r-208.R
Saving _problems/test-run-r-219.R
Saving _problems/test-run-r-221.R
Saving _problems/test-run-r-232.R
Saving _problems/test-run-r-245.R
Saving _problems/test-run-r-281.R
Saving _problems/test-run-r-291.R
Saving _problems/test-run-r-294.R
Saving _problems/test-run-r-304.R
Saving _problems/test-run-r-308.R
Saving _problems/test-run-r-319.R
Saving _problems/test-sandbox-251.R
Saving _problems/test-sandbox-287.R
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
══ Skipped tests (86) ══════════════════════════════════════════════════════════
• COMMONS_TEST_CONNECT_VANITY_URL is not set (1): 'test-trajectories.R:1524:3'
• On CRAN (60): 'test-citation-browser.R:11:3',
'test-citation-browser.R:181:3', 'test-citation-browser.R:340:3',
'test-commons.R:162:1', 'test-commons.R:380:1', 'test-commons.R:602:3',
'test-commons.R:630:3', 'test-commons.R:678:3', 'test-commons.R:694:3',
'test-commons.R:763:5', 'test-data-source.R:20:1', 'test-data-source.R:81:1',
'test-data-source.R:249:1', 'test-data-source.R:259:1',
'test-data-source.R:275:1', 'test-data-source.R:294:1',
'test-data-source.R:325:1', 'test-data-source.R:411:1',
'test-data-source.R:488:1', 'test-data-source.R:499:1',
'test-trajectory-review.R:265:1', 'test-catalog-databricks.R:446:1',
'test-catalog-databricks.R:453:1', 'test-catalog-snowflake.R:520:1',
'test-chat.R:93:1', 'test-chat.R:100:1', 'test-connect.R:11:1',
'test-connect.R:71:1', 'test-connect.R:192:1', 'test-connect.R:232:1',
'test-data-dictionary.R:85:1', 'test-data-dictionary.R:113:1',
'test-data-dictionary.R:311:1', 'test-layer-objects.R:61:1',
'test-measures.R:20:1', 'test-measures.R:42:1', 'test-measures.R:79:1',
'test-measures.R:86:1', 'test-measures.R:93:1', 'test-read-measures.R:390:1',
'test-tracing.R:1:1', 'test-tracing.R:20:1', 'test-tracing.R:25:1',
'test-tracing.R:32:3', 'test-tracing.R:76:1', 'test-tracing.R:105:1',
'test-tracing.R:120:1', 'test-tracing.R:147:1', 'test-tracing.R:183:1',
'test-tracing.R:231:1', 'test-tracing.R:282:3', 'test-tools.R:413:1',
'test-trajectory-review-log.R:63:1', 'test-trajectories.R:1064:1',
'test-trajectories.R:1077:1', 'test-trajectories.R:1161:1',
'test-trajectories.R:1191:3', 'test-trajectories.R:1407:1',
'test-trajectories.R:1461:1', 'test-trajectories.R:1536:1'
• On Mac (1): 'test-sandbox.R:69:3'
• Set options(commons.test.databricks = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:406:3', 'test-live-warehouses.R:488:3',
'test-live-warehouses.R:519:3', 'test-live-warehouses.R:559:3',
'test-live-warehouses.R:632:3', 'test-live-warehouses.R:660:3',
'test-live-warehouses.R:743:3'
• Set options(commons.test.databricks.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:508:3'
• Set options(commons.test.databricks.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:613:3'
• Set options(commons.test.snowflake = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:2:3', 'test-live-warehouses.R:100:3',
'test-live-warehouses.R:123:3', 'test-live-warehouses.R:159:3',
'test-live-warehouses.R:199:3', 'test-live-warehouses.R:282:3',
'test-live-warehouses.R:356:3'
• Set options(commons.test.snowflake.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:148:3'
• Set options(commons.test.snowflake.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:320:3'
• Set options(commons.test.snowflake.semantic_view = DBI::Id(...)) to run this
test (1): 'test-live-warehouses.R:286:3'
• Set options(commons.test.snowflake.verified_query_view = DBI::Id(...)) (1):
'test-live-warehouses.R:339:3'
• data-dict CLI is not installed (2): 'test-definition-export.R:148:5',
'test-definition-export.R:172:5'
• identical(Sys.info()[["sysname"]], "Linux") is not TRUE (1):
'test-sandbox.R:264:3'
• not a source checkout (1): 'test-assets-synced.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-run-r.R:29:3'): run_r executes code against stored handles ───
Expected `res@value` to match regexp "5650".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:42:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "<span class=\"hl com\">#> [1] 5650</span>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:47:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "#> [1] 5650".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:64:3'): run_r session state persists across calls, and handles sync lazily ──
Expected `res@value` to match regexp "48".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:111:3'): run_r loads integer64 methods for stored handles ──
Expected `res@value` to match string "[1] 326 338".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:125:3'): run_r returns plots as images and opens the display ──
Expected `images` to have length 1.
Actual length: 0.
── Error ('test-run-r.R:126:3'): run_r returns plots as images and opens the display ──
<subscriptOutOfBoundsError/error/condition>
Error in `images[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─testthat::expect_identical(images[[1]]@type, "image/png") at test-run-r.R:126:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Error ('test-run-r.R:163:3'): run_r collapses code and output above plots ───
Error in `res@value[[1]]@text`: no applicable method for `@` applied to an object of class "character"
Backtrace:
▆
1. └─testthat::expect_match(res@value[[1]]@text, "private text") at test-run-r.R:163:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-run-r.R:195:3'): run_r preloads measure sources for reading, comments included ──
Expected `res@value` to match string "# count every order".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:198:3'): run_r preloads measure sources for reading, comments included ──
Expected `called@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:208:3'): run_r delivers the citation request when no fallback tool has ──
Expected `res@value` to match string "[1] 2".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
|
| With this most recent tool call, this turn is now based on outputs beyond trusted calculations. If trusted text you have seen supports your final answer, add a `<commons-citation>` block with one blockquote of the exact supporting text, following the citation rules given earlier. Otherwise, provide no citations.
── Failure ('test-run-r.R:219:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@value` to match regexp "Error: boom".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:221:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@extra$display$html` to match string "#> boom".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">stop</span><span class="hl def">(</span><span class="hl sng">'boom'</span><span class="hl def">)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:232:3'): run_r displays code directly when it produces no output ──
Expected `res@value` to match string "produced no output".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:245:3'): run_r displays code directly when it produces no output ──
Expected `res@extra$display$html` not to match string "#>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl def">x</span> <span class="hl kwb"><-</span> <span class="hl num">1</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:281:3'): the worker cannot see parent-only environment variables ──
Expected `res@value` to match regexp "FALSE".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:291:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `res@value` to match regexp "time limit".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:294:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `after@value` to match regexp "1".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:304:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `res@value` to match regexp "crashed".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:308:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `after@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:319:3'): concurrent run_r calls take turns on the worker ──
Expected `res[[2]]@value` to match regexp "20".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Error ('test-sandbox.R:251:3'): an initialized worker is denied reads, writes, and sockets ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto") at test-sandbox.R:251:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
── Error ('test-sandbox.R:287:3'): full network access leaves the filesystem sandboxed ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto", network = "full") at test-sandbox.R:287:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [270s/137s]
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(commons)
>
> test_check("commons")
Starting 2 test processes.
> test-trajectory-review.R: Loading required package: shiny
Saving _problems/test-sandbox-251.R
Saving _problems/test-sandbox-287.R
Saving _problems/test-run-r-29.R
Saving _problems/test-run-r-46.R
Saving _problems/test-run-r-47.R
Saving _problems/test-run-r-64.R
Saving _problems/test-run-r-111.R
Saving _problems/test-run-r-125.R
Saving _problems/test-run-r-126.R
Saving _problems/test-run-r-163.R
Saving _problems/test-run-r-195.R
Saving _problems/test-run-r-198.R
Saving _problems/test-run-r-208.R
Saving _problems/test-run-r-219.R
Saving _problems/test-run-r-221.R
Saving _problems/test-run-r-232.R
Saving _problems/test-run-r-245.R
Saving _problems/test-run-r-281.R
Saving _problems/test-run-r-291.R
Saving _problems/test-run-r-294.R
Saving _problems/test-run-r-304.R
Saving _problems/test-run-r-308.R
Saving _problems/test-run-r-319.R
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
══ Skipped tests (86) ══════════════════════════════════════════════════════════
• COMMONS_TEST_CONNECT_VANITY_URL is not set (1): 'test-trajectories.R:1524:3'
• On CRAN (60): 'test-citation-browser.R:11:3',
'test-citation-browser.R:181:3', 'test-citation-browser.R:340:3',
'test-commons.R:162:1', 'test-commons.R:380:1', 'test-commons.R:602:3',
'test-commons.R:630:3', 'test-commons.R:678:3', 'test-commons.R:694:3',
'test-commons.R:763:5', 'test-data-source.R:20:1', 'test-data-source.R:81:1',
'test-data-source.R:249:1', 'test-data-source.R:259:1',
'test-data-source.R:275:1', 'test-data-source.R:294:1',
'test-data-source.R:325:1', 'test-data-source.R:411:1',
'test-data-source.R:488:1', 'test-data-source.R:499:1',
'test-trajectory-review.R:265:1', 'test-catalog-databricks.R:446:1',
'test-catalog-databricks.R:453:1', 'test-catalog-snowflake.R:520:1',
'test-chat.R:93:1', 'test-chat.R:100:1', 'test-connect.R:11:1',
'test-connect.R:71:1', 'test-connect.R:192:1', 'test-connect.R:232:1',
'test-data-dictionary.R:85:1', 'test-data-dictionary.R:113:1',
'test-data-dictionary.R:311:1', 'test-layer-objects.R:61:1',
'test-measures.R:20:1', 'test-measures.R:42:1', 'test-measures.R:79:1',
'test-measures.R:86:1', 'test-measures.R:93:1', 'test-read-measures.R:390:1',
'test-tools.R:413:1', 'test-tracing.R:1:1', 'test-tracing.R:20:1',
'test-tracing.R:25:1', 'test-tracing.R:32:3', 'test-tracing.R:76:1',
'test-tracing.R:105:1', 'test-tracing.R:120:1', 'test-tracing.R:147:1',
'test-tracing.R:183:1', 'test-tracing.R:231:1', 'test-tracing.R:282:3',
'test-trajectories.R:1064:1', 'test-trajectories.R:1077:1',
'test-trajectories.R:1161:1', 'test-trajectories.R:1191:3',
'test-trajectories.R:1407:1', 'test-trajectories.R:1461:1',
'test-trajectories.R:1536:1', 'test-trajectory-review-log.R:63:1'
• On Mac (1): 'test-sandbox.R:69:3'
• Set options(commons.test.databricks = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:406:3', 'test-live-warehouses.R:488:3',
'test-live-warehouses.R:519:3', 'test-live-warehouses.R:559:3',
'test-live-warehouses.R:632:3', 'test-live-warehouses.R:660:3',
'test-live-warehouses.R:743:3'
• Set options(commons.test.databricks.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:508:3'
• Set options(commons.test.databricks.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:613:3'
• Set options(commons.test.snowflake = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:2:3', 'test-live-warehouses.R:100:3',
'test-live-warehouses.R:123:3', 'test-live-warehouses.R:159:3',
'test-live-warehouses.R:199:3', 'test-live-warehouses.R:282:3',
'test-live-warehouses.R:356:3'
• Set options(commons.test.snowflake.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:148:3'
• Set options(commons.test.snowflake.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:320:3'
• Set options(commons.test.snowflake.semantic_view = DBI::Id(...)) to run this
test (1): 'test-live-warehouses.R:286:3'
• Set options(commons.test.snowflake.verified_query_view = DBI::Id(...)) (1):
'test-live-warehouses.R:339:3'
• data-dict CLI is not installed (2): 'test-definition-export.R:148:5',
'test-definition-export.R:172:5'
• identical(Sys.info()[["sysname"]], "Linux") is not TRUE (1):
'test-sandbox.R:264:3'
• not a source checkout (1): 'test-assets-synced.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-sandbox.R:251:3'): an initialized worker is denied reads, writes, and sockets ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto") at test-sandbox.R:251:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
── Error ('test-sandbox.R:287:3'): full network access leaves the filesystem sandboxed ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto", network = "full") at test-sandbox.R:287:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
── Failure ('test-run-r.R:29:3'): run_r executes code against stored handles ───
Expected `res@value` to match regexp "5650".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:42:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "<span class=\"hl com\">#> [1] 5650</span>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:47:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "#> [1] 5650".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:64:3'): run_r session state persists across calls, and handles sync lazily ──
Expected `res@value` to match regexp "48".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:111:3'): run_r loads integer64 methods for stored handles ──
Expected `res@value` to match string "[1] 326 338".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:125:3'): run_r returns plots as images and opens the display ──
Expected `images` to have length 1.
Actual length: 0.
── Error ('test-run-r.R:126:3'): run_r returns plots as images and opens the display ──
<subscriptOutOfBoundsError/error/condition>
Error in `images[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─testthat::expect_identical(images[[1]]@type, "image/png") at test-run-r.R:126:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Error ('test-run-r.R:163:3'): run_r collapses code and output above plots ───
Error in `res@value[[1]]@text`: no applicable method for `@` applied to an object of class "character"
Backtrace:
▆
1. └─testthat::expect_match(res@value[[1]]@text, "private text") at test-run-r.R:163:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-run-r.R:195:3'): run_r preloads measure sources for reading, comments included ──
Expected `res@value` to match string "# count every order".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:198:3'): run_r preloads measure sources for reading, comments included ──
Expected `called@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:208:3'): run_r delivers the citation request when no fallback tool has ──
Expected `res@value` to match string "[1] 2".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
|
| With this most recent tool call, this turn is now based on outputs beyond trusted calculations. If trusted text you have seen supports your final answer, add a `<commons-citation>` block with one blockquote of the exact supporting text, following the citation rules given earlier. Otherwise, provide no citations.
── Failure ('test-run-r.R:219:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@value` to match regexp "Error: boom".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:221:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@extra$display$html` to match string "#> boom".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">stop</span><span class="hl def">(</span><span class="hl sng">'boom'</span><span class="hl def">)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:232:3'): run_r displays code directly when it produces no output ──
Expected `res@value` to match string "produced no output".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:245:3'): run_r displays code directly when it produces no output ──
Expected `res@extra$display$html` not to match string "#>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl def">x</span> <span class="hl kwb"><-</span> <span class="hl num">1</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:281:3'): the worker cannot see parent-only environment variables ──
Expected `res@value` to match regexp "FALSE".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:291:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `res@value` to match regexp "time limit".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:294:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `after@value` to match regexp "1".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:304:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `res@value` to match regexp "crashed".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:308:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `after@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:319:3'): concurrent run_r calls take turns on the worker ──
Expected `res[[2]]@value` to match regexp "20".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [240s/153s]
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(commons)
>
> test_check("commons")
Starting 2 test processes.
> test-trajectory-review.R: Loading required package: shiny
Saving _problems/test-sandbox-251.R
Saving _problems/test-sandbox-287.R
Saving _problems/test-run-r-29.R
Saving _problems/test-run-r-46.R
Saving _problems/test-run-r-47.R
Saving _problems/test-run-r-64.R
Saving _problems/test-run-r-111.R
Saving _problems/test-run-r-125.R
Saving _problems/test-run-r-126.R
Saving _problems/test-run-r-163.R
Saving _problems/test-run-r-195.R
Saving _problems/test-run-r-198.R
Saving _problems/test-run-r-208.R
Saving _problems/test-run-r-219.R
Saving _problems/test-run-r-221.R
Saving _problems/test-run-r-232.R
Saving _problems/test-run-r-245.R
Saving _problems/test-run-r-281.R
Saving _problems/test-run-r-291.R
Saving _problems/test-run-r-294.R
Saving _problems/test-run-r-304.R
Saving _problems/test-run-r-308.R
Saving _problems/test-run-r-319.R
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
══ Skipped tests (86) ══════════════════════════════════════════════════════════
• COMMONS_TEST_CONNECT_VANITY_URL is not set (1): 'test-trajectories.R:1524:3'
• On CRAN (60): 'test-citation-browser.R:11:3',
'test-citation-browser.R:181:3', 'test-citation-browser.R:340:3',
'test-commons.R:162:1', 'test-commons.R:380:1', 'test-commons.R:602:3',
'test-commons.R:630:3', 'test-commons.R:678:3', 'test-commons.R:694:3',
'test-commons.R:763:5', 'test-data-source.R:20:1', 'test-data-source.R:81:1',
'test-data-source.R:249:1', 'test-data-source.R:259:1',
'test-data-source.R:275:1', 'test-data-source.R:294:1',
'test-data-source.R:325:1', 'test-data-source.R:411:1',
'test-data-source.R:488:1', 'test-data-source.R:499:1',
'test-trajectory-review.R:265:1', 'test-catalog-databricks.R:446:1',
'test-catalog-databricks.R:453:1', 'test-catalog-snowflake.R:520:1',
'test-chat.R:93:1', 'test-chat.R:100:1', 'test-connect.R:11:1',
'test-connect.R:71:1', 'test-connect.R:192:1', 'test-connect.R:232:1',
'test-data-dictionary.R:85:1', 'test-data-dictionary.R:113:1',
'test-data-dictionary.R:311:1', 'test-layer-objects.R:61:1',
'test-measures.R:20:1', 'test-measures.R:42:1', 'test-measures.R:79:1',
'test-measures.R:86:1', 'test-measures.R:93:1', 'test-read-measures.R:390:1',
'test-tools.R:413:1', 'test-tracing.R:1:1', 'test-tracing.R:20:1',
'test-tracing.R:25:1', 'test-tracing.R:32:3', 'test-tracing.R:76:1',
'test-tracing.R:105:1', 'test-tracing.R:120:1', 'test-tracing.R:147:1',
'test-tracing.R:183:1', 'test-tracing.R:231:1', 'test-tracing.R:282:3',
'test-trajectories.R:1064:1', 'test-trajectories.R:1077:1',
'test-trajectories.R:1161:1', 'test-trajectories.R:1191:3',
'test-trajectories.R:1407:1', 'test-trajectories.R:1461:1',
'test-trajectories.R:1536:1', 'test-trajectory-review-log.R:63:1'
• On Mac (1): 'test-sandbox.R:69:3'
• Set options(commons.test.databricks = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:406:3', 'test-live-warehouses.R:488:3',
'test-live-warehouses.R:519:3', 'test-live-warehouses.R:559:3',
'test-live-warehouses.R:632:3', 'test-live-warehouses.R:660:3',
'test-live-warehouses.R:743:3'
• Set options(commons.test.databricks.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:508:3'
• Set options(commons.test.databricks.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:613:3'
• Set options(commons.test.snowflake = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:2:3', 'test-live-warehouses.R:100:3',
'test-live-warehouses.R:123:3', 'test-live-warehouses.R:159:3',
'test-live-warehouses.R:199:3', 'test-live-warehouses.R:282:3',
'test-live-warehouses.R:356:3'
• Set options(commons.test.snowflake.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:148:3'
• Set options(commons.test.snowflake.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:320:3'
• Set options(commons.test.snowflake.semantic_view = DBI::Id(...)) to run this
test (1): 'test-live-warehouses.R:286:3'
• Set options(commons.test.snowflake.verified_query_view = DBI::Id(...)) (1):
'test-live-warehouses.R:339:3'
• data-dict CLI is not installed (2): 'test-definition-export.R:148:5',
'test-definition-export.R:172:5'
• identical(Sys.info()[["sysname"]], "Linux") is not TRUE (1):
'test-sandbox.R:264:3'
• not a source checkout (1): 'test-assets-synced.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-sandbox.R:251:3'): an initialized worker is denied reads, writes, and sockets ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto") at test-sandbox.R:251:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
── Error ('test-sandbox.R:287:3'): full network access leaves the filesystem sandboxed ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto", network = "full") at test-sandbox.R:287:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
── Failure ('test-run-r.R:29:3'): run_r executes code against stored handles ───
Expected `res@value` to match regexp "5650".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:42:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "<span class=\"hl com\">#> [1] 5650</span>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:47:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "#> [1] 5650".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:64:3'): run_r session state persists across calls, and handles sync lazily ──
Expected `res@value` to match regexp "48".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:111:3'): run_r loads integer64 methods for stored handles ──
Expected `res@value` to match string "[1] 326 338".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:125:3'): run_r returns plots as images and opens the display ──
Expected `images` to have length 1.
Actual length: 0.
── Error ('test-run-r.R:126:3'): run_r returns plots as images and opens the display ──
<subscriptOutOfBoundsError/error/condition>
Error in `images[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─testthat::expect_identical(images[[1]]@type, "image/png") at test-run-r.R:126:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Error ('test-run-r.R:163:3'): run_r collapses code and output above plots ───
Error in `res@value[[1]]@text`: no applicable method for `@` applied to an object of class "character"
Backtrace:
▆
1. └─testthat::expect_match(res@value[[1]]@text, "private text") at test-run-r.R:163:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-run-r.R:195:3'): run_r preloads measure sources for reading, comments included ──
Expected `res@value` to match string "# count every order".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:198:3'): run_r preloads measure sources for reading, comments included ──
Expected `called@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:208:3'): run_r delivers the citation request when no fallback tool has ──
Expected `res@value` to match string "[1] 2".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
|
| With this most recent tool call, this turn is now based on outputs beyond trusted calculations. If trusted text you have seen supports your final answer, add a `<commons-citation>` block with one blockquote of the exact supporting text, following the citation rules given earlier. Otherwise, provide no citations.
── Failure ('test-run-r.R:219:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@value` to match regexp "Error: boom".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:221:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@extra$display$html` to match string "#> boom".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">stop</span><span class="hl def">(</span><span class="hl sng">'boom'</span><span class="hl def">)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:232:3'): run_r displays code directly when it produces no output ──
Expected `res@value` to match string "produced no output".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:245:3'): run_r displays code directly when it produces no output ──
Expected `res@extra$display$html` not to match string "#>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl def">x</span> <span class="hl kwb"><-</span> <span class="hl num">1</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:281:3'): the worker cannot see parent-only environment variables ──
Expected `res@value` to match regexp "FALSE".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:291:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `res@value` to match regexp "time limit".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:294:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `after@value` to match regexp "1".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:304:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `res@value` to match regexp "crashed".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:308:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `after@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:319:3'): concurrent run_r calls take turns on the worker ──
Expected `res[[2]]@value` to match regexp "20".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [262s/135s]
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(commons)
>
> test_check("commons")
Starting 2 test processes.
> test-trajectory-review.R: Loading required package: shiny
Saving _problems/test-sandbox-251.R
Saving _problems/test-sandbox-287.R
Saving _problems/test-run-r-29.R
Saving _problems/test-run-r-46.R
Saving _problems/test-run-r-47.R
Saving _problems/test-run-r-64.R
Saving _problems/test-run-r-111.R
Saving _problems/test-run-r-125.R
Saving _problems/test-run-r-126.R
Saving _problems/test-run-r-163.R
Saving _problems/test-run-r-195.R
Saving _problems/test-run-r-198.R
Saving _problems/test-run-r-208.R
Saving _problems/test-run-r-219.R
Saving _problems/test-run-r-221.R
Saving _problems/test-run-r-232.R
Saving _problems/test-run-r-245.R
Saving _problems/test-run-r-281.R
Saving _problems/test-run-r-291.R
Saving _problems/test-run-r-294.R
Saving _problems/test-run-r-304.R
Saving _problems/test-run-r-308.R
Saving _problems/test-run-r-319.R
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
══ Skipped tests (86) ══════════════════════════════════════════════════════════
• COMMONS_TEST_CONNECT_VANITY_URL is not set (1): 'test-trajectories.R:1524:3'
• On CRAN (60): 'test-citation-browser.R:11:3',
'test-citation-browser.R:181:3', 'test-citation-browser.R:340:3',
'test-commons.R:162:1', 'test-commons.R:380:1', 'test-commons.R:602:3',
'test-commons.R:630:3', 'test-commons.R:678:3', 'test-commons.R:694:3',
'test-commons.R:763:5', 'test-data-source.R:20:1', 'test-data-source.R:81:1',
'test-data-source.R:249:1', 'test-data-source.R:259:1',
'test-data-source.R:275:1', 'test-data-source.R:294:1',
'test-data-source.R:325:1', 'test-data-source.R:411:1',
'test-data-source.R:488:1', 'test-data-source.R:499:1',
'test-trajectory-review.R:265:1', 'test-catalog-databricks.R:446:1',
'test-catalog-databricks.R:453:1', 'test-catalog-snowflake.R:520:1',
'test-chat.R:93:1', 'test-chat.R:100:1', 'test-connect.R:11:1',
'test-connect.R:71:1', 'test-connect.R:192:1', 'test-connect.R:232:1',
'test-data-dictionary.R:85:1', 'test-data-dictionary.R:113:1',
'test-data-dictionary.R:311:1', 'test-layer-objects.R:61:1',
'test-measures.R:20:1', 'test-measures.R:42:1', 'test-measures.R:79:1',
'test-measures.R:86:1', 'test-measures.R:93:1', 'test-read-measures.R:390:1',
'test-tools.R:413:1', 'test-tracing.R:1:1', 'test-tracing.R:20:1',
'test-tracing.R:25:1', 'test-tracing.R:32:3', 'test-tracing.R:76:1',
'test-tracing.R:105:1', 'test-tracing.R:120:1', 'test-tracing.R:147:1',
'test-tracing.R:183:1', 'test-tracing.R:231:1', 'test-tracing.R:282:3',
'test-trajectories.R:1064:1', 'test-trajectories.R:1077:1',
'test-trajectories.R:1161:1', 'test-trajectories.R:1191:3',
'test-trajectories.R:1407:1', 'test-trajectories.R:1461:1',
'test-trajectories.R:1536:1', 'test-trajectory-review-log.R:63:1'
• On Mac (1): 'test-sandbox.R:69:3'
• Set options(commons.test.databricks = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:406:3', 'test-live-warehouses.R:488:3',
'test-live-warehouses.R:519:3', 'test-live-warehouses.R:559:3',
'test-live-warehouses.R:632:3', 'test-live-warehouses.R:660:3',
'test-live-warehouses.R:743:3'
• Set options(commons.test.databricks.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:508:3'
• Set options(commons.test.databricks.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:613:3'
• Set options(commons.test.snowflake = DBI::Id(...)) to run live warehouse
tests (7): 'test-live-warehouses.R:2:3', 'test-live-warehouses.R:100:3',
'test-live-warehouses.R:123:3', 'test-live-warehouses.R:159:3',
'test-live-warehouses.R:199:3', 'test-live-warehouses.R:282:3',
'test-live-warehouses.R:356:3'
• Set options(commons.test.snowflake.denied_table = DBI::Id(...)) (1):
'test-live-warehouses.R:148:3'
• Set options(commons.test.snowflake.parameterized_model = DBI::Id(...)) (1):
'test-live-warehouses.R:320:3'
• Set options(commons.test.snowflake.semantic_view = DBI::Id(...)) to run this
test (1): 'test-live-warehouses.R:286:3'
• Set options(commons.test.snowflake.verified_query_view = DBI::Id(...)) (1):
'test-live-warehouses.R:339:3'
• data-dict CLI is not installed (2): 'test-definition-export.R:148:5',
'test-definition-export.R:172:5'
• identical(Sys.info()[["sysname"]], "Linux") is not TRUE (1):
'test-sandbox.R:264:3'
• not a source checkout (1): 'test-assets-synced.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-sandbox.R:251:3'): an initialized worker is denied reads, writes, and sockets ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto") at test-sandbox.R:251:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
── Error ('test-sandbox.R:287:3'): full network access leaves the filesystem sandboxed ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
! sandbox_init failed: compilation failed
Backtrace:
▆
1. └─commons (local) sandboxed_worker_probes("auto", network = "full") at test-sandbox.R:287:3
2. └─rs$run(...) at test-sandbox.R:158:3
3. └─callr:::rs_run(self, private, func, args, package)
4. └─throw(res$error)
── Failure ('test-run-r.R:29:3'): run_r executes code against stored handles ───
Expected `res@value` to match regexp "5650".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:42:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "<span class=\"hl com\">#> [1] 5650</span>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:47:3'): run_r executes code against stored handles ───
Expected `res@extra$display$html` to match string "#> [1] 5650".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">sum</span><span class="hl def">(r1</span><span class="hl opt">$</span><span class="hl def">revenue)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:64:3'): run_r session state persists across calls, and handles sync lazily ──
Expected `res@value` to match regexp "48".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:111:3'): run_r loads integer64 methods for stored handles ──
Expected `res@value` to match string "[1] 326 338".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:125:3'): run_r returns plots as images and opens the display ──
Expected `images` to have length 1.
Actual length: 0.
── Error ('test-run-r.R:126:3'): run_r returns plots as images and opens the display ──
<subscriptOutOfBoundsError/error/condition>
Error in `images[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─testthat::expect_identical(images[[1]]@type, "image/png") at test-run-r.R:126:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Error ('test-run-r.R:163:3'): run_r collapses code and output above plots ───
Error in `res@value[[1]]@text`: no applicable method for `@` applied to an object of class "character"
Backtrace:
▆
1. └─testthat::expect_match(res@value[[1]]@text, "private text") at test-run-r.R:163:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-run-r.R:195:3'): run_r preloads measure sources for reading, comments included ──
Expected `res@value` to match string "# count every order".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:198:3'): run_r preloads measure sources for reading, comments included ──
Expected `called@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:208:3'): run_r delivers the citation request when no fallback tool has ──
Expected `res@value` to match string "[1] 2".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
|
| With this most recent tool call, this turn is now based on outputs beyond trusted calculations. If trusted text you have seen supports your final answer, add a `<commons-citation>` block with one blockquote of the exact supporting text, following the citation rules given earlier. Otherwise, provide no citations.
── Failure ('test-run-r.R:219:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@value` to match regexp "Error: boom".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:221:3'): run_r surfaces errors from model code without failing the tool ──
Expected `res@extra$display$html` to match string "#> boom".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl kwd">stop</span><span class="hl def">(</span><span class="hl sng">'boom'</span><span class="hl def">)</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:232:3'): run_r displays code directly when it produces no output ──
Expected `res@value` to match string "produced no output".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:245:3'): run_r displays code directly when it produces no output ──
Expected `res@extra$display$html` not to match string "#>".
Actual text:
x | <div class="commons-run-r-display"><pre class="commons-run-r-code"><code class="language-r"><span class="hl def">x</span> <span class="hl kwb"><-</span> <span class="hl num">1</span>
| <span class="hl com">#> ! in callr subprocess.</span>
| <span class="hl com">#> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:</span>
| <span class="hl com">#> ! sandbox_init failed: compilation failed</span></code></pre></div>
── Failure ('test-run-r.R:281:3'): the worker cannot see parent-only environment variables ──
Expected `res@value` to match regexp "FALSE".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:291:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `res@value` to match regexp "time limit".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:294:3'): run_r interrupts code exceeding the time limit, keeping the session ──
Expected `after@value` to match regexp "1".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:304:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `res@value` to match regexp "crashed".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:308:3'): a crashed worker reports the crash and respawns on the next call ──
Expected `after@value` to match regexp "6".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
── Failure ('test-run-r.R:319:3'): concurrent run_r calls take turns on the worker ──
Expected `res[[2]]@value` to match regexp "20".
Actual text:
x | Error: ! in callr subprocess.
| Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| ! sandbox_init failed: compilation failed
[ FAIL 23 | WARN 0 | SKIP 86 | PASS 7189 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-x86_64