data(hiv)
test_that("rcpp_distSTRING()", {
expect_true(rcpp_distSTRING(dnavector=as.character(hiv),
scoreMatrix=iupacMatrix())$sitesUsed[1,2] == 273)
expect_true(rcpp_distSTRING(dnavector=as.character(hiv),
scoreMatrix=iupacMatrix(), ncores=2)$sitesUsed[1,2] == 273)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.