Nothing
library(RcppMagicEnum)
library(tinytest)
Rcpp::sourceCpp("cpp/testcode.cpp")
expect_equal(getString(), "RED")
expect_equal(getInteger(), -10)
expect_equal(getSequence(), c("RED", "BLUE", "GREEN"))
expect_equal(getValueFromString("RED"), -10)
expect_equal(getValueFromString("BLUE"), 0)
expect_equal(getValueFromString("GREEN"), 10)
expect_equal(getValueFromString("doesNotExists"), NA_integer_)
expect_equal(getCount(), 3)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.