* using log directory ‘/Users/ripley/R/packages/tests-devel/commons.Rcheck’ * using R Under development (unstable) (2026-09-11 r90521) * using platform: aarch64-apple-darwin25.6.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.1.1.101) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.6.2 * using session charset: UTF-8 * current time: 2026-09-11 16:40:43 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘commons/DESCRIPTION’ ... OK * this is package ‘commons’ version ‘0.1.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘commons’ can be installed ... OK * used C compiler: ‘Apple clang version 21.0.0 (clang-2100.1.1.101)’ * used SDK: ‘MacOSX26.5.sdk’ * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [112s/54s] [112s/55s] ERROR 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. 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 > test-trajectory-review.R: Loading required package: shiny Saving _problems/test-sandbox-251.R Saving _problems/test-sandbox-287.R > test-tracing.R: [Warning] File: /private/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T/RtmpjEwsi4/R.INSTALL1163778b48e2b/otelsdk/src/cpp/sdk/src/metrics/metric_reader.cc:36 MetricReader::Collect invoked while Shutdown in progress! [ 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-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 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 "#> [1] 5650". Actual text: x |
sum(r1$revenue)
    | #> ! 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:47:3'): run_r executes code against stored handles ─── Expected `res@extra$display$html` to match string "#> [1] 5650". Actual text: x |
sum(r1$revenue)
    | #> ! 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: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 ── 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 `` 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 |
stop('boom')
    | #> ! 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: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 |
x <- 1
    | #> ! 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: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 ── 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 ── 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/commons.Rcheck/00check.log’ for details. 100.57 real 119.37 user 35.87 sys