Skip to content

Commit

Permalink
fix vect assignment #93
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejohnson51 committed Mar 17, 2024
1 parent bd30907 commit e91ae02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dap.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ dap <- function(URL = NULL,
}
}

if(all(sapply(AOI, class) == "SpatRaster")){
if(class(AOI)[1] == "SpatRaster"){

l = unlist(list(AOI,x), recursive = TRUE)

Expand Down

0 comments on commit e91ae02

Please sign in to comment.