We already use GEOS:Simplify in sf.SimplifyLines()
It is using the Douglas–Peucker algorithm
If I understand it correctly it not only removes vertices but also changes the shape a little bit.
I think geos::geom::CoordinateSequence::removeRepeatedPoints() is not altering the result, just removing vertices that have no effect on the shape.
I'll verify on the GEOS mailinglist.
Reply from the GEOS mailinglist:
Use DP simplify with a tolerance of 0, will do what you're asking for.
So we don't need to implement removeRepeatedPoints.
I'll close this issue.