natverse / nat

NeuroAnatomy Toolbox: An R package for the (3D) visualisation and analysis of biological image data, especially tracings of single neurons.
https://natverse.org/nat/
64 stars 28 forks source link

pull out all rgl dependencies into separate nat3d package #200

Open jefferis opened 9 years ago

jefferis commented 9 years ago

This is what e.g. vegan/analogue have done with:

The reasoning is that there are problems with the rgl build e.g. on snow leopard that have not been resolved and that in general, it seems a waste to load rgl/X for functionality that does not depend on rgl e.g. when running on a cluster.

jefferis commented 8 years ago

A (possible) alternative is to set the rgl.useNULL option on package startup if we are in non-interactive mode.

jefferis commented 8 years ago

But that would still not solve the issue that rgl is frequently not available in some macosx configs.

jefferis commented 8 years ago

This solves the rgl load issue, but still leaves rgl as a dependency at build time, which can cause problems.