whether or not you leave the skin on a sweet potato prior to roasting is entirely up to you! you do not need to peel a sweet potato prior to cooking it in the oven. the skins of sweet potatoes are safe to eat, both raw and cooked, and contain nutrients such as fiber and antioxidants.