It seems DGr may have been specified/constrained (const T & P) when the Keq equation was derivied ie : DGr = DHr - T DSr
So, d/dT DGr is meaningless within the constraints of the Keq equation. Funny, if you don't keep track of constraints, all of the variables start looking the same. I seems I must be careful to remember that variables/functions have context.