* 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 failedsum(r1$revenue)
| #> ! in callr subprocess.
| #> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| #> ! sandbox_init failed: compilation failedstop('boom')
| #> ! in callr subprocess.
| #> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| #> ! sandbox_init failed: compilation failedx <- 1
| #> ! in callr subprocess.
| #> Caused by error in `(function (parent_tmp, work_dir, dll_path, network = "none", ...`:
| #> ! sandbox_init failed: compilation failed