View source: R/package_skeleton.R
package_skeleton | R Documentation |
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"
)
model |
The |
name |
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 |
Path to put the package directory in. Default is '.' i.e. the current directory. |
author |
Author of the package. |
email |
Email of the package maintainer. |
maintainer |
Maintainer of the package. |
license |
License of the package. Default is 'GPL-3'. |
invisible NULL
.
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.