Preheat oven to 350 degrees. Line 24 muffin wells with paper liners.
Add the flour, baking soda, cinnamon, and salt to a small bowl and stir to combine.
Add the oil, granulated sugar, brown sugar, and vanilla to a mixing bowl and beat well to combine.
Beat in the eggs, one at a time, stirring well after each addition.
Stir in the flour mixture until just combined.
Add the grated carrots and pineapple to the mixing bowl and stir to incorporate.
Spoon batter into paper liners 2/3 of the way full.
Bake for 15 minutes or until tester comes out clean.
Cool 30 minutes.
To prepare the frosting, beat together the cream cheese and butter until light and fluffy. Beat in the powdered sugar, heavy cream, and vanilla until well combined.
Pipe, spread, or scoop the frosting onto the cooled cupcakes and top with a pecan.