We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53dda54 commit d666a40Copy full SHA for d666a40
tests/testthat/test-gbifmap.r
@@ -6,7 +6,7 @@ test_that("gbifmap", {
6
key <- name_backbone(name='Puma concolor')$speciesKey
7
dat <- occ_search(taxonKey=key, return='data', limit=100)
8
tt <- suppressMessages(gbifmap(input=dat))
9
-
+
10
library("plyr")
11
splist <- c('Cyanocitta stelleri', 'Junco hyemalis', 'Aix sponsa')
12
keys <- sapply(splist, function(x) name_backbone(name=x)$speciesKey, USE.NAMES=FALSE)
@@ -19,5 +19,4 @@ test_that("gbifmap", {
19
# returns the correct attributes
20
expect_match(uu$labels$group, c("group"))
21
expect_match(uu$labels$colour, c("name"))
22
- expect_equal(dim(tt$data), c(25553,6))
23
})
0 commit comments