Nothing
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo"
test_that("getTranscriptIdsInCorpus works", {
skip_on_cran() # don't run tests that depend on external resource on CRAN
if (!is.null(labbcatCredentials(labbcat.url, "demo", "demo"))) skip("Server not available")
ids <- getTranscriptIdsInCorpus(labbcat.url, "QB")
expect_equal(length(ids), 22)
expect_true("QB247_Jacqui.eaf" %in% ids)
expect_false("UC427_ViktoriaPapp_A_ENG.eaf" %in% ids)
})
test_that("getTranscriptIdsInCorpus empty result is correct type", {
skip_on_cran() # don't run tests that depend on external resource on CRAN
if (!is.null(labbcatCredentials(labbcat.url, "demo", "demo"))) skip("Server not available")
ids <- getTranscriptIdsInCorpus(labbcat.url, "nonexistent")
expect_equal(length(ids), 0)
})
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.