Skip to content

Commit

Permalink
fix is call (cran note)
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jun 1, 2022
1 parent 4a92331 commit 13cadd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/GSUtils.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ GSUtils$getPayloadXML <- function(obj){
GSUtils$setBbox = function(minx, miny, maxx, maxy, bbox = NULL, crs){

if(!missing(bbox) & !is.null(bbox)){
if(class(bbox) != "matrix") stop("Bbox is not a valid bounding box matrix")
if(!is(bbox,"matrix")) stop("Bbox is not a valid bounding box matrix")
if(all(dim(bbox) != c(2,2))) stop("Bbox is not a valid bounding box matrix")
minx = bbox[1L,1L]
miny = bbox[2L,1L]
Expand Down

0 comments on commit 13cadd5

Please sign in to comment.