This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-03-26 14:42:56 +01:00
parent 29f444543d
commit afd12d5486
3 changed files with 4 additions and 2 deletions

View File

@ -93,6 +93,7 @@ globalVariables(c(".",
"shortname",
"species",
"species_id",
"subspecies",
"trade_name",
"transmute",
"tsn",

View File

@ -69,5 +69,6 @@ test_that("creation of data sets is valid", {
})
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"))
})

View File

@ -37,7 +37,7 @@ test_that("mo_history works", {
force = TRUE),
"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)),
c("x", "mo", "uncertainty_level", "package_version"))