context("Loan Acquisition Dataset")
library(loanroll)
test_that("LoanAcquisitionDataset constructor", {
acq_txt <- system.file("extdata", "acquisition-sample-file.txt", package = "loanroll")
# cat(acq_txt, file.size(acq_txt), "bytes\n")
expect_equal(
nrow(LoanAcquisitionDataset(acq_txt=acq_txt)),
8L)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.