Resistor power rating needed
All you need to know is the worst case scenario, when the current is at its peak. Use that current and the value of the resistor to calculate the power dissipation using I^2*R