Nothing
context("load_fgs with setas sample files")
d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")
file <- file.path(d, "SETasGroupsDem_NoCep.csv")
test_that("test format of species names", {
expect_is(load_fgs(file)$Name, "character")
expect_is(load_fgs(file)$Code, "character")
})
test_that("test file dimensions", {
expect_equal(dim(load_fgs(file))[1], 8)
expect_equal(dim(load_fgs(file))[2], 25)
})
test_that("test acronym extractions", {
expect_equal(get_nonage_acronyms(file), c("CEP", "BML", "PL", "DL", "DR", "DC"))
expect_equal(get_fish_acronyms(file), c("FPS", "FVS"))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.