1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:46:11 +01:00
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"))