A crash had partially blocked the main road close to the River Derwent and an East Yorkshire village.