Update an object of class prevR created with a previous version of the
package to the last version. In particular, it will convert any boundary
slot defined with the sp package to sf class.
update_prevR(object)a prevR object
a prevR object