test_that("describe annotation works", {
db <- rodm2::create_sqlite(connect = TRUE)
myannotationtext = "test site group"
suppressMessages(db_describe_annotation(db = db,
annotationtext = myannotationtext,
annotationtypecv = "Site group"))
query_result <- RSQLite::dbGetQuery(db,
"SELECT ann.annotationtext
FROM annotations ann
WHERE ann.annotationtext = :x",
params=list(x = myannotationtext))
DBI::dbDisconnect(db)
expect_true(myannotationtext %in% query_result[["AnnotationText"]])
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.