While peeling sweet potatoes for baking is considered optional, you do need to peel a sweet potato when using for cupcakes.