Skip to content

Commit

Permalink
use stable terra user interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Sep 10, 2023
1 parent 5bc9ff9 commit 794d639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ tile <-
library(ggplot2)
library(tidyterra)
lims <- as.double(terra::ext(tile)@ptr$vector)
lims <- as.vector(terra::ext(tile))
ggplot(remove_missing(shape_pop, na.rm = TRUE)) +
geom_spatraster_rgb(data = tile, maxcell = 10e6) +
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ tile <-
library(ggplot2)
library(tidyterra)

lims <- as.double(terra::ext(tile)@ptr$vector)
lims <- as.vector(terra::ext(tile))

ggplot(remove_missing(shape_pop, na.rm = TRUE)) +
geom_spatraster_rgb(data = tile, maxcell = 10e6) +
Expand Down

0 comments on commit 794d639

Please sign in to comment.