It’s totally okay to shift an automatic transmission from R to D without coming to a complete stop. They design them to do this. (Never followed this advice and also never lent my cousin my car)

Also, cruise control is not made for hills, use only on flat ground.