mirror of
https://github.com/msberends/AMR.git
synced 2025-01-13 22:51:37 +01:00
ci fixes
This commit is contained in:
parent
29f444543d
commit
afd12d5486
@ -93,6 +93,7 @@ globalVariables(c(".",
|
|||||||
"shortname",
|
"shortname",
|
||||||
"species",
|
"species",
|
||||||
"species_id",
|
"species_id",
|
||||||
|
"subspecies",
|
||||||
"trade_name",
|
"trade_name",
|
||||||
"transmute",
|
"transmute",
|
||||||
"tsn",
|
"tsn",
|
||||||
|
@ -69,5 +69,6 @@ test_that("creation of data sets is valid", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test_that("CoL version info works", {
|
test_that("CoL version info works", {
|
||||||
expect_equal(class(catalogue_of_life_version()), "list")
|
expect_identical(class(catalogue_of_life_version()),
|
||||||
|
c("catalogue_of_life_version", "list"))
|
||||||
})
|
})
|
||||||
|
@ -37,7 +37,7 @@ test_that("mo_history works", {
|
|||||||
force = TRUE),
|
force = TRUE),
|
||||||
"B_ESCHR_COL")
|
"B_ESCHR_COL")
|
||||||
|
|
||||||
expect_equal(as.character(suppressWarnings(as.mo("testsubject"))), "B_ESCHR_COL")
|
expect_equal(as.character(as.mo("testsubject", allow_uncertain = TRUE)), "B_ESCHR_COL")
|
||||||
|
|
||||||
expect_equal(colnames(read_mo_history(force = TRUE)),
|
expect_equal(colnames(read_mo_history(force = TRUE)),
|
||||||
c("x", "mo", "uncertainty_level", "package_version"))
|
c("x", "mo", "uncertainty_level", "package_version"))
|
||||||
|
Loading…
Reference in New Issue
Block a user