If the resistor is broken, it can't be connected directly. The resistor will reduce the voltage. If it is connected directly, the resistor circuit will not work normally, and the circuit may be burnt in serious cases.