test_that("Path to database", {
if (.Platform$OS.type == "windows"){
dirLocal <- "C:/boligfinn"
} else {
dirLocal <- "~/boligfinn"
}
sti <- paste(dirLocal, "boligfinn.sqlite", sep = "/")
expect_identical(path_db(), sti)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.