Wash cranberries. Combine with sugar, orange slices, pecan halves, orange juice and spices in a 2 quart casserole. Bake, uncovered, at 375 for 30 minutes. Stir yams into cranberry mixture; bake until hot through, about 15 minutes.