context("Function getFbDomain")
test_that("getFbDomain", {
library(data.table)
library(testthat)
library(parallel)
DT <- getFbDomain(list.files(system.file("testdata/FB",package = "fbTools"),
recursive = TRUE, full.names = TRUE), 2)
expect_true("data.table"%in%class(DT))
expect_true(nrow(DT)==19655)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.