Skip to content

Commit

Permalink
asc
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed May 23, 2021
1 parent c46f8da commit 1f595fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/as.character.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ setMethod("as.character", signature(x="Raster"),
crs <- ifelse(is.na(crs), ", crs=''", paste0(", crs='", crs, "'"))
if (nlayers(x) < 2) {
paste0("raster(",
"ncol=",ncol(x),
", nrow=",nrow(x),
"ncols=",ncol(x),
", nrows=",nrow(x),
", xmn=",e[1],
", xmx=",e[2],
", ymn=",e[3],
Expand Down

0 comments on commit 1f595fe

Please sign in to comment.