Skip to content

Commit

Permalink
fix to vertmap
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Dec 1, 2015
1 parent d4b85be commit 1c264bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/vertmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ vertmap <- function(input = NULL, mapdatabase = "world", region = ".",
stop("Need columns named 'decimallatitude' and 'decimallongitude'", call. = FALSE)
}

name <- !inherits(input$scientificname, "NULL")
# name <- !inherits(input$scientificname, "NULL")
name <- "scientificname" %in% names(input)

input$decimallatitude <- as.numeric(as.character(input$decimallatitude))
input$decimallongitude <- as.numeric(as.character(input$decimallongitude))
Expand Down

0 comments on commit 1c264bb

Please sign in to comment.