Skip to content

Commit

Permalink
debug rgl segmentation error for 3d plot during github actions on mac…
Browse files Browse the repository at this point in the history
… and linux runners
  • Loading branch information
evaham1 committed Jan 13, 2025
1 parent 1f3d24b commit e9689f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-plotIndiv.R
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,8 @@ test_that("plotIndiv works for rcc (3d style)", {
Y <- nutrimouse$gene
nutri.res <- rcc(X, Y, ncomp = 3, lambda1 = 0.064, lambda2 = 0.008)

# Clear any existing rgl plots
# Clear any existing rgl plots and disable plot rendering for non-interactive environments
options(rgl.useNULL = TRUE)
clear3d()
pl.res <- suppressWarnings(suppressMessages(plotIndiv(nutri.res, style = "3d")))

Expand Down

0 comments on commit e9689f1

Please sign in to comment.