Thanks. I separated vector r into x and y components, integrated, and I got it.
I guess my first attempt did not work because even though I tried to do a conversion at the end...I needed to integrate r as a vector first because its components change as the angles change.