Specimen geometry and specimen size dependence of the $${\mathcal {R}}$$R-curve and the size effect law from a cohesive model point of view