Resistor dissipating 0.1W in heatshrink tubing
We could get into some maths here about the thermal resistance of heat shrink tubing but you are worrying unnecessarily. If the outside is 30C the inside is not going to more than 50C.