Preheat the oven to 350 degrees F. Grease or line 18 muffin tins
In a medium bowl sift together the whole wheat pastry flour, baking soda, salt and cinnamon. Set aside.
In a large bowl, beat eggs and sugar together until light and fluffy. Slowly add in the oil, beating continuously.
Gradually add in the flour mixture, just until absorbed. Then fold in the ground almonds, carrots, raisins and walnuts.
Pour into prepared muffin tins. Bake in the center of the oven until a skewer comes out clean, about 15 to 20 minutes for muffins.
Gradually sift the sugar, beating continuously to avoid lumps. Add the lemon zest and juice, to taste, and beat until smooth. If the icing seems a little too soft or thin to spread, chill before using to stiffen. Ice on top of the cupcakes as desired.