The equation is correct. There's also an equation for transmission line loss, but you have omitted it.
It's true that conductor resistance (as well as substrate conductivity) affect in a first order losses. It also changes the characteristic impedance to a certain amount, unfortunately frequency dependent. Means if the resistance is so high that it affects the impedance, you are far from ideal transmission line behavior. You better avoid this operation region.