# write the Canadian Shield configuration to 'mymodel.rvi'
rvn_rvi_write_template(template_name="CdnShield",
filename=file.path(tempdir(), "mymodel.rvi"))
# write the HMETS model with some additional details in the description
rvn_rvi_write_template(template_name="HMETS",
filename=file.path(tempdir(), "mynewmodel.rvi"),
author="Robert Chlumsky",
description="RVI file for the HMETS model (Martel, 2017) created by RavenR")
Run the code above in your browser using DataLab