test_calculateDC = function() {
data('UP000464024_df')
x_df <- calculateDC(UP000464024_df)
x_df <- x_df[, -1]
checkEqualsNumeric(sum(as.matrix(x_df)), 17, tolerance = 1e-2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.