In a bowl sift the plain flour, baking powder, baking soda and cinnamon together
Add the crushed walnuts to the mixture and stir to incorporate
In another bowl whisk the eggs and sugar together until combined
Add the oil and whisk until the oil is incorporated
Add the dry ingredients and whisk until smooth
Fold in the carrots gently
Line a cupcake tray with 12 cupcake cases then fill the mixture evenly amongst the cupcake cases
Bake in the centre of a preheated oven at 160°C/325°F/gas mark 3 for 25-30 minutes
Leave to cool completely whilst the frosting is prepared
In a bowl whip the butter until pale and fluffy
Add the cream cheese and whisk until incorporated
Add the icing sugar and vanilla extract into the mixture
Whisk until smooth and creamy
Your carrot cupcakes with cream cheese frosting are ready!