Skip to content

Commit

Permalink
spelling error in a warning msg
Browse files Browse the repository at this point in the history
  • Loading branch information
dankelley committed Jun 18, 2016
1 parent af21e57 commit 602866d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/map.R
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ mapPlot <- function(longitude, latitude, longitudelim, latitudelim, grid=TRUE,
##20150612 mapproj::mapproject(0, 0, projection=projection, parameters=parameters, orientation=orientation)
}
xy <- lonlat2map(longitude, latitude, projection=projection)
if (!missing(latitudelim) && 0 == diff(latitudelim)) stop("lattudelim must contain two distinct values")
if (!missing(latitudelim) && 0 == diff(latitudelim)) stop("latitudelim must contain two distinct values")
if (!missing(longitudelim) && 0 == diff(longitudelim)) stop("longitudelim must contain two distinct values")
limitsGiven <- !missing(latitudelim) && !missing(longitudelim)

Expand Down

0 comments on commit 602866d

Please sign in to comment.