Skip to content

Commit

Permalink
Switched to sf and terra, but still returns sp until conversion of pa…
Browse files Browse the repository at this point in the history
…ckage complete.
  • Loading branch information
jhollist committed Jan 6, 2023
1 parent 7f5f098 commit d43c77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/lakeFetch.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ lakeFetch <- function(inLakeMorpho, bearing, addLine = TRUE) {
if (addLine) {
myName <- paste("maxFetchLine_", bearing, sep = "")
inLakeMorpho[[substitute(myName)]] <- NULL
inLakeMorpho[[substitute(myName)]] <- myLine
inLakeMorpho[[substitute(myName)]] <- as(myLine, "Spatial") #TODO: Yank this as() when switch to sf complete
class(inLakeMorpho) <- "lakeMorpho"
assign(inputName, inLakeMorpho, envir = parent.frame())
}
Expand Down

0 comments on commit d43c77a

Please sign in to comment.