Skip to content

Commit e4cba33

Browse files
Add crant_scene skip guard to crant_xyz2id test
crant_xyz2id calls crant_voxdims() which calls choose_crant() internally, so it also needs the scene availability check to skip gracefully in CI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a01b9e3 commit e4cba33

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/testthat/test-ids.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ test_that("crant_xyz2id works", {
22
skip_if_offline()
33
skip_if_not(crant_token_available(),
44
message="Unable to obtain a crant access token")
5-
5+
skip_if_not(crant_scene_available(),
6+
message="Unable to build CRANT neuroglancer scene")
67
expect_equal(crant_xyz2id(cbind(37306, 31317, 1405), rawcoords=TRUE),
78
"576460752679473795")
89

0 commit comments

Comments
 (0)