Last updated on 2026-09-11 21:51:00 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.0.1 | 3.60 | 62.98 | 66.58 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.0.1 | 2.44 | 47.41 | 49.85 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 1.48 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 12.00 | 257.45 | 269.45 | OK | |
| r-devel-windows-x86_64 | 0.0.1 | 6.00 | 85.00 | 91.00 | OK | |
| r-patched-linux-x86_64 | 0.0.1 | 3.55 | 58.34 | 61.89 | OK | |
| r-release-linux-x86_64 | 0.0.1 | 3.70 | 58.35 | 62.05 | OK | |
| r-release-macos-arm64 | 0.0.1 | 1.00 | 22.00 | 23.00 | OK | |
| r-release-macos-x86_64 | 0.1.0 | 13.00 | 268.00 | 281.00 | ERROR | |
| r-release-windows-x86_64 | 0.0.1 | 7.00 | 82.00 | 89.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | 4.00 | 25.00 | 29.00 | ERROR | |
| r-oldrel-macos-x86_64 | 0.1.0 | 13.00 | 368.00 | 381.00 | ERROR | |
| r-oldrel-windows-x86_64 | 0.0.1 | 8.00 | 102.00 | 110.00 | OK |
Version: 0.1.0
Check: package dependencies
Result: ERROR
Packages required but not available: 'duckdb', 'ragnar'
Imports includes 26 non-default packages.
Importing from so many packages makes the package vulnerable to any of
them becoming unavailable. Move as many as possible to Suggests and
use conditionally.
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [315s/188s]
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-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 ════════════════════════════════════════════════════════════════
── 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’ [109s/56s]
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-oldrel-macos-arm64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [343s/266s]
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-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 ════════════════════════════════════════════════════════════════
── 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