Skip to content

Commit

Permalink
for #1612
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Oct 1, 2024
1 parent 8783ec4 commit 4cd5310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/spatvec.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ setMethod("geomtype", signature(x="Spatial"),
)

setMethod("geom", signature(x="SpatVector"),
function(x, wkt=FALSE, hex=FALSE, df=FALSE, list=FALSE, xnm="x", ynm="y", wkb=FALSE){
function(x, wkt=FALSE, hex=FALSE, wkb=FALSE, df=FALSE, list=FALSE, xnm="x", ynm="y"){
if (hex) {
x@ptr$hex()
} else if (wkt) {
Expand Down
2 changes: 1 addition & 1 deletion man/geometry.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ If \code{wkb=TRUE}, the "well-known binary" representation is returned as a list
}

\usage{
\S4method{geom}{SpatVector}(x, wkt=FALSE, hex=FALSE, df=FALSE, list=FALSE, xnm="x", ynm="y", wkb=FALSE)
\S4method{geom}{SpatVector}(x, wkt=FALSE, hex=FALSE, wkb=FALSE, df=FALSE, list=FALSE, xnm="x", ynm="y")
}

\arguments{
Expand Down

0 comments on commit 4cd5310

Please sign in to comment.