# tests for read_data
dir <- system.file(package = "edwr", "extdata")
library(edwr)
context("Check read_data")
test_that("returns proper class", {
expect_s3_class(
read_data(dir, "demographics.csv"), "tbl_edwr"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.