Preheat oven to 350°F. Line 18 standard muffin tin cups with paper liners.
In a large bowl, whisk together flour, sugar, baking soda, baking powder, cinnamon, and salt.
In the bowl of a stand mixer fitted with the whisk attachment, beat the oil, eggs, and pineapple. Add the flour mixture and beat until just combined. Using a spatula, stir in the carrots, raisins, and coconut. Scoop the batter into the prepared muffin cups, filling each three-quarters full.
Bake until a toothpick inserted into the center of a muffin comes out clean, about 20 minutes. Transfer the muffins to a wire rack and let cool.