R Under development (unstable) (2026-04-25 r89962 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(cgvR) cgvR was installed in STUB mode (no Vulkan support). Reason: failed to extract datoviz.dll (unzip missing?) Native rendering APIs (cgv_viewer, cgv_run, ...) will raise an error. Install the Vulkan SDK + GLFW3 and reinstall cgvR for full functionality. > > # Tests requiring a real display + Vulkan device (window creation, camera, > # graph upload, recording). Skipped on CRAN since CRAN build machines are > # headless and lack a usable Vulkan ICD; also skipped when cgvR was installed > # in stub mode (no Vulkan support). Run locally via devtools::test() with > # NOT_CRAN=true and a full build. > heavy <- c( + "viewer", + "camera", + "graph", + "background", + "record" + ) > > on_cran <- !identical(Sys.getenv("NOT_CRAN"), "true") > > test_dir <- if (dir.exists("testthat")) "testthat" else "tests/testthat" > > if (on_cran) { + message("--- RUNNING LIGHT TESTS ONLY ---") + + all_tests <- list.files(test_dir, pattern = "^test-.*\\.R$") + all_names <- sub("^test-(.*)\\.R$", "\\1", all_tests) + + light_tests <- setdiff(all_names, heavy) + message("Tests to run: ", paste(light_tests, collapse = ", ")) + + if (length(light_tests) == 0) { + test_check("cgvR") + } else { + filter_regex <- paste(light_tests, collapse = "|") + test_check("cgvR", filter = filter_regex) + } + } else { + test_check("cgvR") + } --- RUNNING LIGHT TESTS ONLY --- Tests to run: layout, stub, validation [ FAIL 0 | WARN 0 | SKIP 6 | PASS 50 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • cgvR is a stub build (no Vulkan) (6): 'test-layout.R:67:3', 'test-layout.R:76:3', 'test-layout.R:84:3', 'test-layout.R:95:3', 'test-layout.R:103:3', 'test-layout.R:111:3' [ FAIL 0 | WARN 0 | SKIP 6 | PASS 50 ] > > proc.time() user system elapsed 1.67 0.50 2.17