Skip to content

Commit

Permalink
Update utils-plot.R
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoodbody committed Jan 27, 2023
1 parent d6f3606 commit 2e2460e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/utils-plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ plot_scatter <- function(mraster,
reverse = FALSE,
samp = 0.01) {

.data <- NULL

#--- Error management ---#
if (!inherits(mraster, "SpatRaster")) {
stop("'mraster' must be type SpatRaster.", call. = FALSE)
Expand Down

0 comments on commit 2e2460e

Please sign in to comment.