Create an R-package based on a template

CreateRPackageFromTemplate(packageName, path = ".",
class = "MyTraversalTask", overwrite = FALSE)

## Arguments

packageName a character string denoting the name of the package. a character string denoting a directory where to hold the package. a character string denoting the name of a TraversalSpecification class to be implemented in the package. logical indicating if an existing directory packageName at path should be overwritten (default FALSE).

## Value

If the function runs correctly nothing. Otherwise an error is raised.

## Details

This function needs Internet connection to clone the https://github.com/venelin/PMMUsingSPLITT.git repository in path. Then, it replaces the name of the package and the the C++ namespace PMMUsingSPLITT with packageName and the name of the class AbcPMM with className. All these arguments must be valid C++ identifiers. The packageName parameter must be a valid name for an R-package.