test_that("auth returns a the proper string",
{auth<-paste("Authorization: HCP ",base64enc::base64encode(charToRaw("testuser")),":",digest::digest("mypassword",algo="md5",serialize=FALSE),sep="" )
expect_that(auth, equals("Authorization: HCP dGVzdHVzZXI=:34819d7beeabb9260a5c854bc85b3e44"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.