test_that("Limit cannot be less than one", {
# Store dummy key
qualtRics::registerOptions(api_token="1234", root_url="abcd.qualtrics.com")
# Call getsurvey
expect_error(qualtRics::getSurvey("1234", limit = 0),
"Limit parameter should be at least 1")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.