Preheat oven to 400 degrees Fahrenheit. Line muffin tin with liners or spray with cooking spray and set aside.
In a large bowl stir together flour, sugar, coconut flakes, baking powder, baking soda, salt, cinnamon, nutmeg and ginger.
Make a well in the center of the flour mixture and add in milk, pineapple, eggs, vanilla.
Stir all ingredients together until combined.
Fold in carrots and cranberries.
Scoop batter into prepared muffin tin 3/4 full each.
Bake for 18-20 minutes until golden brown and tester inserted in the center of the muffins comes out clean.
Allow to cool slightly in pan before transferring to a wire rack to cool completely.
Cream Cheese Glaze
In a small bowl combine cream cheese, sugar, milk, vanilla and cinnamon. Stir together using a whisk or an electric mixer until creamy.
Dip top of muffins into glaze and set on wire rack until glaze has dried.
Notes
Once muffins are glazed, store in refrigerator. Muffins will freeze well without glaze. Add glaze after muffins come to room temperature or simply dust confectioners sugar.