The R7, and other R series cameras, forces electronic shutter for focus stacking. This prevents the use of flash for focus stacking. There is no really good reason for not allowing mechanical shutter for focus stacking and the choice of which shutter...