There is a sign convention for the radii $R_1$ and $R_2$ used in the equation. This convention is described in the Wikipedia article on the lensmaker's equation:
The signs of the lens' radii of curvature indicate whether the corresponding surfaces are convex or concave. The sign convention used to represent this varies, but in this article a positive $R$ indicates a surface's center of curvature is further along in the direction of the ray travel (right, in the accompanying diagrams), while negative $R$ means that rays reaching the surface have already passed the center of curvature. Consequently, for external lens surfaces as diagrammed above, $R_1 > 0$ and $R_2 < 0$ indicate convex surfaces (used to converge light in a positive lens), while $R_1 < 0$ and $R_2 > 0$ indicate concave surfaces.
So in your example of $|R_1| = |R_2| = R$ the equation for a biconvex lens would be:
$$ \frac{1}{f} = (n - 1)\left( \frac{1}{R} - \frac{1}{-R}\right) =\frac{2(n-1)}{R} $$
For a biconcave lens it would be:
$$ \frac{1}{f} = (n - 1)\left( \frac{1}{-R} - \frac{1}{R}\right) =\frac{-2(n-1)}{R} $$