test_that("rxUiDeparse()", {
rxUiDeparse(rxControl(), "a")
expect_equal(rxUiDeparse(rxControl(), "a"),
str2lang("a <- rxControl()"))
expect_equal(rxUiDeparse(rxControl(covsInterpolation="linear", method="dop853",
naInterpolation="nocb", keepInterpolation="nocb", sigmaXform="variance",
omegaXform="variance", returnType="data.frame", sumType="fsum", prodType="logify",
sensType="central"), "a"),
str2lang("a <- rxControl(method = \"dop853\", covsInterpolation = \"linear\", returnType = \"data.frame\", sigmaXform = \"variance\", sumType = \"fsum\", sensType = \"central\", naInterpolation = \"nocb\", keepInterpolation = \"nocb\")"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.