teradata-aster-field / toaster

Tools for Aster in R
11 stars 2 forks source link

Add validate option to `computeGraph`that would fail invalid graphs before creating them #47

Open grigory93 opened 8 years ago

grigory93 commented 8 years ago

This enhancement adds graph validation in computeGraph before graph gets created. If graph fails validation then computeGraph throws error instead of returning graph object.

Reusing validateGraph is essential.