Skip to contents

A wrapper around EML::write_eml that automates file naming from projet configuration

Usage

write_cap_eml(
      emlEntity,
      filePathName
    )

Arguments

emlEntity

(unquoted character) Unquoted name of the eml entity (from `create_eml`) to be written to file. Defaults to `eml`.

filePathName

(character) Path and file name of file to be written. Defaults to the package identifier and current directory.

Value

Writes eml object as specified name and to specified location in xml format.

Details

Any existing xml files named with packageScopeNumber at path will be overwritten.

Examples

if (FALSE) { # \dontrun{

write_cap_eml(
  emlEntity = myeml,
  filePathName = "~/Desktop/myeml.xml"
)

write_cap_eml()

} # }