odin_dust_package | R Documentation |
Update generated code in a package that uses odin and dust to
provide a model. This will generate new dust code in inst/dust
and from that generate a full model in src
, and an R interface
in R/dust.R
, along with the cpp11 attributes that are needed to
use the model.
odin_dust_package(path, options = NULL)
path |
Path to the package root (the directory that
contains |
options |
An odin::odin_options or odin_dust_options
object. If given it overrides arguments; if it is already a
|
The path to the package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.