dynverse / dyneval

Metrics to compare two or more trajectories ⚖
2 stars 2 forks source link

Loading dyneval generates a mysterious warning #16

Closed rcannood closed 7 years ago

rcannood commented 7 years ago

I'm not sure where this warning comes from

> library(dyneval)
Warning in rgl.init(initValue, onlyNULL) :
  RGL: unable to open X11 display
Warning: 'rgl_init' failed, running with rgl.useNULL = TRUE

I temporarily disabled warnings_are_errors (e7356a76296c0f7250b5b67094cf0f4150c2758e) because I was fed up with dyneval not building, but this should still be fixed.

zouter commented 7 years ago

Is this warning still generated?

rcannood commented 7 years ago

Yes. It gets generated when there is no X display available, such as on travis and on the prism. Probably one of the packages dyneval imports, also imports rgl, which is then generating the warning.

rcannood commented 7 years ago

Fixed by moving rgl to suggests in dyngen!