SimInf_model
Describe your model in a logical way in R, then mparse
creates a SimInf_model
object with your model
definition that can be installed as an add-on R package.
package_skeleton(
model,
name = NULL,
path = ".",
author = NULL,
email = NULL,
maintainer = NULL,
license = "GPL-3"
)
invisible NULL
.
The model
SimInf_model
object with your model to create the package skeleton from.
Character string with the package name. It should contain only (ASCII) letters, numbers and dot, have at least two characters and start with a letter and not end in a dot. The package name is also used for the class name of the model and the directory name of the package.
Path to put the package directory in. Default is '.' i.e. the current directory.
Author of the package.
Email of the package maintainer.
Maintainer of the package.
License of the package. Default is 'GPL-3'.
Read the Writing R Extensions manual for more details.
Once you have created a source package you need to install
it: see the R Installation and Administration manual,
INSTALL
and install.packages
.