A minimal working example of how to compile and register TMB code properly in a package when you need more than one source C++ file, or a DLL with a different name than the package itself.
devtools::check(), be sure to call it as:
devtools::check(cran = FALSE)
to avoid an error about the DLL not being able to be found, or delete the
.so files prior to running
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.