Displaying 2 results from an estimated 2 matches for "rglplus".
Did you mean:
gplus
2015 Oct 22
6
Best way to implement optional functions?
I'm planning on adding some new WebGL functionality to the rgl package,
but it will pull in a very large number of dependencies. Since many
people won't need it, I'd like to make the new parts optional.
The general idea I'm thinking of is to put the new stuff into a separate
package, and have rgl "Suggest" it. But I'm not sure whether these
functions should
2015 Oct 22
0
Best way to implement optional functions?
...fail
when the extra functionality is demanded and not available. In the
latter case, it "feels like" you are trying to defeat Depends: or
Imports:. That route has usually gotten me in trouble.
Another thing you might want to consider is that, at least for awhile,
the new functions in rglPlus will probably be less stable then those in
rgl. Being able to change those and update rglPlus without needing to
update rgl can be a real advantage (i.e. if the API for the new
functions is in rgl, and you need to change it, then you are required to
notify all the package maintainers that depen...