Rstan 2.26 error compilation (works with 2.21). Can't understand cause

Solved following

Rstan build error (new 2.26.1): validate_dims is not a member of stan::io - Developers - The Stan Forums (mc-stan.org)