Skip to contents

Set a configuration with a temporary project directory

Usage

cfg_tmp_project(
  xml_path = system.file("sic_project_test1.xml", package = "rsic2"),
  cfg = loadConfig(xml_path = xml_path)
)

Arguments

xml_path

character, the path of the XML SIC project file

cfg

config, the configuration to modify

Value

The updated configuration with the temporary project directory

Examples

if (FALSE) {
cfg <- cfg_tmp_project()
cfg$project$xml_path
}