From 30e7db38afe6338a811c9f2be3f2e482b6f918d8 Mon Sep 17 00:00:00 2001 From: jiajic <72078254+jiajic@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:20:12 -0400 Subject: [PATCH 1/2] Update methods-ext.R fixes note in rmdcheck --- R/methods-ext.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/methods-ext.R b/R/methods-ext.R index 93d4f5c0..a7121eb8 100644 --- a/R/methods-ext.R +++ b/R/methods-ext.R @@ -64,7 +64,7 @@ setMethod('ext<-', signature(x = 'giottoPolygon', value = 'SpatExtent'), functio new_ext = ext_to_num_vec(value) xy_scale = c(diff(new_ext[c(2,1)])/diff(old_ext[c(2,1)]), diff(new_ext[c(4,3)])/diff(old_ext[c(4,3)])) - x = do_gpoly(x, 'terra'::'rescale', args = list(fx = xy_scale[1], fy = xy_scale[2], x0 = old_ext[1L], y0 = old_ext[3L])) + x = do_gpoly(x, terra::rescale, args = list(fx = xy_scale[1], fy = xy_scale[2], x0 = old_ext[1L], y0 = old_ext[3L])) x = spatShift(x, dx = new_ext[1L] - old_ext[1L], dy = new_ext[3L] - old_ext[3L]) x }) From 4ab4d397cd0a22ea706df71327b3b98828e2337c Mon Sep 17 00:00:00 2001 From: jiajic <72078254+jiajic@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:28:26 -0400 Subject: [PATCH 2/2] Update DESCRIPTION increment version --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index a89a57d3..188b5d98 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: GiottoClass Title: Giotto Suite object definitions and framework -Version: 0.0.0.9003 +Version: 0.0.0.9004 Authors@R: c( person("Ruben", "Dries", email = "rubendries@gmail.com", role = c("aut", "cre")),