Learn R Programming

SimInf (version 5.1.0)

package_skeleton: Describe your model in a logical way in R. mparse creates a '>SimInf_mparse object with your model definition that is ready to be initialised with data and then run. Create a package skeleton for a model depending on SimInf

Description

Describe your model in a logical way in R. mparse creates a '>SimInf_mparse object with your model definition that is ready to be initialised with data and then run. Create a package skeleton for a model depending on SimInf

Usage

package_skeleton(model, name = NULL, path = ".", author = NULL,
  email = NULL, maintainer = NULL, license = "GPL-3")

# S4 method for SimInf_mparse package_skeleton(model, name = NULL, path = ".", author = NULL, email = NULL, maintainer = NULL, license = "GPL-3")

Arguments

model

The model '>SimInf_mparse object with your model to create the package skeleton from.

name

Character string: the package name and directory name for your 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'.

Value

invisible NULL.

References

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.