library(RCIndex)
invisible(sapply(list.files("inst/generateCode", pattern = "R$", full.names = TRUE), source))
ds = getDataStructures("inst/exampleCode/struct.c")
#z = getStructDef(ds$Foo)
z = ds$Foo
makeRConstructor(z, z$name[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.