Eg Albion Triumphant suggests rules that favour British lines vs French attack columns.
I am not all that convinced by that often quoted maxim. For instance, at Salamanca, a column-deployed division (Thomières) repulsed an attack by a British line (was then routed by a bayonet attack, but still). At Waterloo, d'Erlon's infantry corps was deployed in two large columns with each battalion in 3-deep lines, ie two battalions in line wide, which doesn't prevent all muskets to bear on the enemy.
I think the real advantage was in taking a defensive stance combined with high morale, as it is easier to stand still, fire and reload, than it is to maintain morale while advancing under fire, and seeing your mates getting killed and wounded around you.
The French army in Spain had a lot of conscripts (not to mention other nationalities, perhaps not all that keen on serving in a distant country and dying for a foreign cause), suffered from constant attacks and harassment (some of which was quite abhorrent) by local partizans, while the British consisted mainly of professional troops and were considered friendly by most of the locals, while their allies were locals, for a large part driven by hatred to the French occupying their homeland.