Preheat oven to 350°F (175°C) and grease a loaf pan.
In a large bowl, whisk together flour, baking soda, cinnamon, nutmeg, and salt.
In another bowl, mix pumpkin puree, sugar, oil, eggs, and vanilla extract.
Combine wet ingredients with dry ingredients and mix until just combined.
Fold in cranberries and chopped pecans gently.
Pour batter into the prepared loaf pan and smooth the top.
Bake for 55–60 minutes or until a toothpick inserted comes out clean.
Remove from oven and let cool in the pan for 10 minutes.
Transfer to a wire rack and cool completely before slicing.