This function updates the configuration file based on a package's new configuration.
If the current configuration is missing or outdated, it will be merged with or replaced by the new configuration.
Usage
update_configuration_file(pkgname, expected_config_version)
Arguments
- pkgname
The name of the package containing the new configuration.
- expected_config_version
A string with the expected user configuration version.
Value
NULL (The function is primarily called for its side effects).
Examples
if (FALSE) { # \dontrun{
update_configuration_file("my_package_name", "1.1.0")
} # }