Skip to content

Commit

Permalink
rgl::open3d(useNULL = TRUE) if not interactive excecution (for CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenarab committed Oct 30, 2024
1 parent 34bb027 commit 4a5076f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' @noRd
.onLoad <- function(libname, pkgname) {
if (interactive() == FALSE) {
rgl::rgl.useNULL(TRUE)
rgl::open3d(useNULL = TRUE)
}
setPackageEnvir(variable.name = "RpolyhedraEnv", new.env(parent = asNamespace("Rpolyhedra")))

Expand Down

0 comments on commit 4a5076f

Please sign in to comment.