1818# ' @export
1919# ' @method fortify SpatialPolygonsDataFrame
2020fortify.SpatialPolygonsDataFrame <- function (model , data , region = NULL , ... ) {
21- deprecate_warn0(" 3.4.4" ,
21+ deprecate(
22+ " 3.4.4" , escalate = " warn" ,
2223 I(" `fortify(<SpatialPolygonsDataFrame>)`" ),
2324 details = " Please migrate to sf."
2425 )
@@ -45,7 +46,8 @@ fortify.SpatialPolygonsDataFrame <- function(model, data, region = NULL, ...) {
4546# ' @export
4647# ' @method fortify SpatialPolygons
4748fortify.SpatialPolygons <- function (model , data , ... ) {
48- deprecate_warn0(" 3.4.4" ,
49+ deprecate(
50+ " 3.4.4" , escalate = " warn" ,
4951 I(" `fortify(<SpatialPolygons>)`" ),
5052 details = " Please migrate to sf."
5153 )
@@ -61,7 +63,8 @@ fortify.SpatialPolygons <- function(model, data, ...) {
6163# ' @export
6264# ' @method fortify Polygons
6365fortify.Polygons <- function (model , data , ... ) {
64- deprecate_warn0(" 3.4.4" ,
66+ deprecate(
67+ " 3.4.4" , escalate = " warn" ,
6568 I(" `fortify(<Polygons>)`" ),
6669 details = " Please migrate to sf."
6770 )
@@ -85,7 +88,8 @@ fortify.Polygons <- function(model, data, ...) {
8588# ' @export
8689# ' @method fortify Polygon
8790fortify.Polygon <- function (model , data , ... ) {
88- deprecate_warn0(" 3.4.4" ,
91+ deprecate(
92+ " 3.4.4" , escalate = " warn" ,
8993 I(" `fortify(<Polygon>)`" ),
9094 details = " Please migrate to sf."
9195 )
@@ -101,7 +105,8 @@ fortify.Polygon <- function(model, data, ...) {
101105# ' @export
102106# ' @method fortify SpatialLinesDataFrame
103107fortify.SpatialLinesDataFrame <- function (model , data , ... ) {
104- deprecate_warn0(" 3.4.4" ,
108+ deprecate(
109+ " 3.4.4" , escalate = " warn" ,
105110 I(" `fortify(<SpatialLinesDataFrame>)`" ),
106111 details = " Please migrate to sf."
107112 )
@@ -114,7 +119,8 @@ fortify.SpatialLinesDataFrame <- function(model, data, ...) {
114119# ' @export
115120# ' @method fortify Lines
116121fortify.Lines <- function (model , data , ... ) {
117- deprecate_warn0(" 3.4.4" ,
122+ deprecate(
123+ " 3.4.4" , escalate = " warn" ,
118124 I(" `fortify(<Lines>)`" ),
119125 details = " Please migrate to sf."
120126 )
@@ -138,7 +144,8 @@ fortify.Lines <- function(model, data, ...) {
138144# ' @export
139145# ' @method fortify Line
140146fortify.Line <- function (model , data , ... ) {
141- deprecate_warn0(" 3.4.4" ,
147+ deprecate(
148+ " 3.4.4" , escalate = " warn" ,,
142149 I(" `fortify(<Line>)`" ),
143150 details = " Please migrate to sf."
144151 )
0 commit comments